Chromium Code Reviews| Index: vm/flow_graph_compiler.cc |
| =================================================================== |
| --- vm/flow_graph_compiler.cc (revision 10050) |
| +++ vm/flow_graph_compiler.cc (working copy) |
| @@ -201,6 +201,7 @@ |
| Register reg3) { |
| DeoptimizationStub* stub = |
| new DeoptimizationStub(deopt_id, deopt_token_pos, try_index, reason); |
| + ASSERT((pending_deoptimization_env_ != NULL) || !is_ssa_); |
|
srdjan
2012/07/31 15:53:15
Alternative would be to split this into two assert
Florian Schneider
2012/08/01 11:46:36
Done.
|
| if (pending_deoptimization_env_ == NULL) { |
| frame_register_allocator()->SpillInDeoptStub(stub); |
| if (reg1 != kNoRegister) stub->Push(reg1); |