diff options
| author | 2015-09-29 14:56:04 +0000 | |
|---|---|---|
| committer | 2015-09-29 14:56:04 +0000 | |
| commit | a68ceb1fd5c4f8fe18aacdb33d605919f7d61ddf (patch) | |
| tree | df4d7b498edd4a74192605c02dd166c2c3051172 /compiler/optimizing/code_generator.cc | |
| parent | 9139578addd6d0e51088fc45bfc0972fc97939b7 (diff) | |
| parent | 225b6464a58ebe11c156144653f11a1c6607f4eb (diff) | |
Merge "Optimizing: Tag arena allocations in code generators."
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
| -rw-r--r-- | compiler/optimizing/code_generator.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/optimizing/code_generator.cc b/compiler/optimizing/code_generator.cc index 3c6a41df34..be05691741 100644 --- a/compiler/optimizing/code_generator.cc +++ b/compiler/optimizing/code_generator.cc @@ -203,13 +203,13 @@ class DisassemblyScope { void CodeGenerator::GenerateSlowPaths() { size_t code_start = 0; - for (size_t i = 0, e = slow_paths_.Size(); i < e; ++i) { + for (SlowPathCode* slow_path : slow_paths_) { if (disasm_info_ != nullptr) { code_start = GetAssembler()->CodeSize(); } - slow_paths_.Get(i)->EmitNativeCode(this); + slow_path->EmitNativeCode(this); if (disasm_info_ != nullptr) { - disasm_info_->AddSlowPathInterval(slow_paths_.Get(i), code_start, GetAssembler()->CodeSize()); + disasm_info_->AddSlowPathInterval(slow_path, code_start, GetAssembler()->CodeSize()); } } } |