diff options
| author | 2015-09-16 15:46:07 +0000 | |
|---|---|---|
| committer | 2015-09-16 15:46:07 +0000 | |
| commit | 9b2c10ebac8e024412b4cc43e6511d724a0fd345 (patch) | |
| tree | 70f910498031be392dd1f851cf38fe68bdc3154c /compiler/optimizing/nodes.cc | |
| parent | 4919c34ead9a10d6cbdaba9967952c344b32e5b9 (diff) | |
| parent | 71bf8090663d02869cafafdd530976f7f2a9db7f (diff) | |
Merge "Optimizing: Tag arena allocations in SsaBuilder."
Diffstat (limited to 'compiler/optimizing/nodes.cc')
| -rw-r--r-- | compiler/optimizing/nodes.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/optimizing/nodes.cc b/compiler/optimizing/nodes.cc index 570ce2efee..54f4071e22 100644 --- a/compiler/optimizing/nodes.cc +++ b/compiler/optimizing/nodes.cc @@ -668,9 +668,9 @@ void HBasicBlock::RemoveInstructionOrPhi(HInstruction* instruction, bool ensure_ } } -void HEnvironment::CopyFrom(const GrowableArray<HInstruction*>& locals) { - for (size_t i = 0; i < locals.Size(); i++) { - HInstruction* instruction = locals.Get(i); +void HEnvironment::CopyFrom(const ArenaVector<HInstruction*>& locals) { + for (size_t i = 0; i < locals.size(); i++) { + HInstruction* instruction = locals[i]; SetRawEnvAt(i, instruction); if (instruction != nullptr) { instruction->AddEnvUseAt(this, i); |