diff options
Diffstat (limited to 'compiler/optimizing/nodes_test.cc')
-rw-r--r-- | compiler/optimizing/nodes_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/nodes_test.cc b/compiler/optimizing/nodes_test.cc index 5f71d053c6..97f74cb7b9 100644 --- a/compiler/optimizing/nodes_test.cc +++ b/compiler/optimizing/nodes_test.cc @@ -248,7 +248,7 @@ TEST_F(NodeTest, ParentEnvironment) { graph->GetArtMethod(), /*dex_pc=*/ 0, /*holder=*/ nullptr); - parent1->CopyFrom(ArrayRef<HInstruction* const>(¶meter1, 1u)); + parent1->CopyFrom(GetAllocator(), ArrayRef<HInstruction* const>(¶meter1, 1u)); ASSERT_EQ(parameter1->GetEnvUses().SizeSlow(), 2u); @@ -258,7 +258,7 @@ TEST_F(NodeTest, ParentEnvironment) { graph->GetArtMethod(), /*dex_pc=*/ 0, /*holder=*/ nullptr); - parent2->CopyFrom(ArrayRef<HInstruction* const>(¶meter1, 1u)); + parent2->CopyFrom(GetAllocator(), ArrayRef<HInstruction* const>(¶meter1, 1u)); parent1->SetAndCopyParentChain(GetAllocator(), parent2); // One use for parent2, and one other use for the new parent of parent1. |