Index: src/interpreter/bytecode-generator.cc |
diff --git a/src/interpreter/bytecode-generator.cc b/src/interpreter/bytecode-generator.cc |
index 5aa739ff457515075514020bebae08035c7c8586..0b8490e8a1aabff7eec1425d9ab30f5b3e5acc68 100644 |
--- a/src/interpreter/bytecode-generator.cc |
+++ b/src/interpreter/bytecode-generator.cc |
@@ -833,6 +833,7 @@ void BytecodeGenerator::VisitEmptyStatement(EmptyStatement* stmt) { |
void BytecodeGenerator::VisitIfStatement(IfStatement* stmt) { |
+ builder()->SetStatementPosition(stmt); |
BytecodeLabel else_label, end_label; |
if (stmt->condition()->ToBooleanIsTrue()) { |
// Generate then block unconditionally as always true. |