diff options
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);  |