summaryrefslogtreecommitdiffstats
path: root/compiler/optimizing/code_generator_vector_arm_vixl.cc
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2018-11-14 15:45:28 +0000
committerVladimir Marko <vmarko@google.com>2018-11-14 18:44:19 +0000
commit4e3734a53614a1db710ea34b81f1cc2260790e7a (patch)
tree2d1c5afdff2a46e71d6c576da2d0da0eb7e44f04 /compiler/optimizing/code_generator_vector_arm_vixl.cc
parent8786fd93e01b9c88f708c14743925489f8db8c28 (diff)
downloadart-4e3734a53614a1db710ea34b81f1cc2260790e7a.tar.gz
art-4e3734a53614a1db710ea34b81f1cc2260790e7a.tar.bz2
art-4e3734a53614a1db710ea34b81f1cc2260790e7a.zip
Rename HVecReduce::GetKind() to GetReductionKind().
Avoid hiding HInstruction::GetKind(). Test: m test-art-host-gtest Change-Id: If7334af437d0a6d93b8228763451c80876aa4d00
Diffstat (limited to 'compiler/optimizing/code_generator_vector_arm_vixl.cc')
-rw-r--r--compiler/optimizing/code_generator_vector_arm_vixl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/code_generator_vector_arm_vixl.cc b/compiler/optimizing/code_generator_vector_arm_vixl.cc
index 62b6c4ea01..b092961a56 100644
--- a/compiler/optimizing/code_generator_vector_arm_vixl.cc
+++ b/compiler/optimizing/code_generator_vector_arm_vixl.cc
@@ -138,7 +138,7 @@ void InstructionCodeGeneratorARMVIXL::VisitVecReduce(HVecReduce* instruction) {
switch (instruction->GetPackedType()) {
case DataType::Type::kInt32:
DCHECK_EQ(2u, instruction->GetVectorLength());
- switch (instruction->GetKind()) {
+ switch (instruction->GetReductionKind()) {
case HVecReduce::kSum:
__ Vpadd(DataTypeValue::I32, dst, src, src);
break;