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 fef77aa0ed..8eeac56ceb 100644 --- a/compiler/optimizing/nodes_test.cc +++ b/compiler/optimizing/nodes_test.cc @@ -133,8 +133,8 @@ TEST(Node, ParentEnvironment) { HEnvironment* environment = new (&allocator) HEnvironment( &allocator, 1, graph->GetDexFile(), graph->GetMethodIdx(), 0, kStatic, with_environment); - GrowableArray<HInstruction*> array(&allocator, 1); - array.Add(parameter1); + ArenaVector<HInstruction*> array(allocator.Adapter()); + array.push_back(parameter1); environment->CopyFrom(array); with_environment->SetRawEnvironment(environment); |