diff options
| author | 2016-04-15 18:55:20 +0000 | |
|---|---|---|
| committer | 2016-04-15 18:55:20 +0000 | |
| commit | 979fb0090c5c9de1da62735b8611a3c9028ed0aa (patch) | |
| tree | 544d97aa662329876c74780f95ed4f6fcc3a4542 /compiler/optimizing/code_generator.cc | |
| parent | 05241f4edbf6960aac7c04b0b98d05f16a23962b (diff) | |
| parent | c01a66465a398ad15da90ab2bdc35b7f4a609b17 (diff) | |
Merge "Fix: correctly destruct VIXL labels."
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
| -rw-r--r-- | compiler/optimizing/code_generator.cc | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/compiler/optimizing/code_generator.cc b/compiler/optimizing/code_generator.cc index a771cc1567..e7fa4e472b 100644 --- a/compiler/optimizing/code_generator.cc +++ b/compiler/optimizing/code_generator.cc @@ -187,7 +187,8 @@ class DisassemblyScope {  void CodeGenerator::GenerateSlowPaths() {    size_t code_start = 0; -  for (SlowPathCode* slow_path : slow_paths_) { +  for (const std::unique_ptr<SlowPathCode>& slow_path_unique_ptr : slow_paths_) { +    SlowPathCode* slow_path = slow_path_unique_ptr.get();      current_slow_path_ = slow_path;      if (disasm_info_ != nullptr) {        code_start = GetAssembler()->CodeSize(); |