| Index: vm/flow_graph_compiler.cc
|
| ===================================================================
|
| --- vm/flow_graph_compiler.cc (revision 9101)
|
| +++ vm/flow_graph_compiler.cc (working copy)
|
| @@ -91,9 +91,11 @@
|
| // Compile all successors until an exit, branch, or a block entry.
|
| while ((instr != NULL) && !instr->IsBlockEntry()) {
|
| if (FLAG_code_comments) EmitComment(instr);
|
| - ASSERT(instr->locs() != NULL);
|
| - EmitInstructionPrologue(instr);
|
| - instr->EmitNativeCode(this);
|
| + ASSERT(instr->IsGoto() || instr->locs() != NULL);
|
| + if (instr->locs() != NULL) {
|
| + EmitInstructionPrologue(instr);
|
| + instr->EmitNativeCode(this);
|
| + }
|
| instr = instr->StraightLineSuccessor();
|
| }
|
| BlockEntryInstr* successor =
|
|
|