Optimizing: Tag arena allocations in SsaBuilder.
Replace GrowableArray with ArenaVector in SsaBuilder and
tag allocations with a new arena allocation type.
Change-Id: I27312c51d7be9d2ad02a974cce93b365c65c5fc4
diff --git a/compiler/optimizing/nodes_test.cc b/compiler/optimizing/nodes_test.cc
index fef77aa..8eeac56 100644
--- a/compiler/optimizing/nodes_test.cc
+++ b/compiler/optimizing/nodes_test.cc
@@ -133,8 +133,8 @@
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);