| Index: runtime/vm/flow_graph_compiler.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_compiler.cc (revision 11621)
|
| +++ runtime/vm/flow_graph_compiler.cc (working copy)
|
| @@ -238,12 +238,12 @@
|
| // TODO(srdjan): Temporary use deopt stubs to maintain deopt-indexes.
|
| // kDeoptAtCall will not emit code, but will only generate deoptimization
|
| // information.
|
| + ASSERT(is_optimizing());
|
| const intptr_t deopt_index = deopt_stubs_.length();
|
| AddDeoptStub(deopt_id, kDeoptAtCall);
|
| - pc_descriptors_list()->AddDescriptor(PcDescriptors::kDeoptIndex,
|
| - assembler()->CodeSize(),
|
| + pc_descriptors_list()->AddDeoptIndex(assembler()->CodeSize(),
|
| deopt_id,
|
| - token_pos,
|
| + kDeoptAtCall,
|
| deopt_index);
|
| }
|
|
|
|
|