Index: src/cfg.cc |
=================================================================== |
--- src/cfg.cc (revision 2631) |
+++ src/cfg.cc (working copy) |
@@ -436,6 +436,7 @@ |
Instruction* instr = block->instructions()->last(); |
instr->set_location(CfgGlobals::current()->effect_location()); |
} |
+ cfg_->Append(new PositionInstr(stmt->statement_pos())); |
cfg_->Concatenate(builder.cfg()); |
} |
@@ -467,6 +468,7 @@ |
BAILOUT("unsupported expression in return statement"); |
} |
+ cfg_->Append(new PositionInstr(stmt->statement_pos())); |
cfg_->Concatenate(builder.cfg()); |
cfg_->AppendReturnInstruction(builder.value()); |
} |