| Index: runtime/vm/code_generator.cc
|
| diff --git a/runtime/vm/code_generator.cc b/runtime/vm/code_generator.cc
|
| index 12bcd08e1402431de926f64ef22a9a866bae117d..9b73bb484b80a1dc027d80e8941219e1b78da210 100644
|
| --- a/runtime/vm/code_generator.cc
|
| +++ b/runtime/vm/code_generator.cc
|
| @@ -1588,7 +1588,7 @@ static void DeoptimizeWithDeoptInfo(const Code& code,
|
| to_frame_size,
|
| Array::Handle(code.object_table()),
|
| num_args);
|
| - for (intptr_t to_index = 0; to_index < len; to_index++) {
|
| + for (intptr_t to_index = len - 1; to_index >= 0; to_index--) {
|
| deopt_instructions[to_index]->Execute(&deopt_context, to_index);
|
| }
|
| if (FLAG_trace_deopt) {
|
|
|