diff options
| author | Vladimir Marko <vmarko@google.com> | 2018-11-14 15:45:28 +0000 |
|---|---|---|
| committer | Vladimir Marko <vmarko@google.com> | 2018-11-14 18:44:19 +0000 |
| commit | 4e3734a53614a1db710ea34b81f1cc2260790e7a (patch) | |
| tree | 2d1c5afdff2a46e71d6c576da2d0da0eb7e44f04 /compiler/optimizing/nodes_vector_test.cc | |
| parent | 8786fd93e01b9c88f708c14743925489f8db8c28 (diff) | |
| download | art-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/nodes_vector_test.cc')
| -rw-r--r-- | compiler/optimizing/nodes_vector_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/optimizing/nodes_vector_test.cc b/compiler/optimizing/nodes_vector_test.cc index af13449646..b0a665d704 100644 --- a/compiler/optimizing/nodes_vector_test.cc +++ b/compiler/optimizing/nodes_vector_test.cc @@ -401,9 +401,9 @@ TEST_F(NodesVectorTest, VectorKindMattersOnReduce) { EXPECT_TRUE(v2->CanBeMoved()); EXPECT_TRUE(v3->CanBeMoved()); - EXPECT_EQ(HVecReduce::kSum, v1->GetKind()); - EXPECT_EQ(HVecReduce::kMin, v2->GetKind()); - EXPECT_EQ(HVecReduce::kMax, v3->GetKind()); + EXPECT_EQ(HVecReduce::kSum, v1->GetReductionKind()); + EXPECT_EQ(HVecReduce::kMin, v2->GetReductionKind()); + EXPECT_EQ(HVecReduce::kMax, v3->GetReductionKind()); EXPECT_TRUE(v1->Equals(v1)); EXPECT_TRUE(v2->Equals(v2)); |
