Index: src/interpreter/bytecode-array-builder.cc |
diff --git a/src/interpreter/bytecode-array-builder.cc b/src/interpreter/bytecode-array-builder.cc |
index c87a6f67127ab771a3206d47717784fc95678306..86d973045205cc34160936e0429b051d8068fcac 100644 |
--- a/src/interpreter/bytecode-array-builder.cc |
+++ b/src/interpreter/bytecode-array-builder.cc |
@@ -1197,8 +1197,9 @@ size_t BytecodeArrayBuilder::GetConstantPoolEntry(Handle<Object> object) { |
void BytecodeArrayBuilder::SetReturnPosition() { |
if (return_position_ == RelocInfo::kNoPosition) return; |
if (exit_seen_in_block_) return; |
- source_position_table_builder_.AddStatementPosition(bytecodes_.size(), |
- return_position_); |
+ source_position_table_builder_.AddStatementPosition( |
+ bytecodes_.size(), return_position_, |
+ SourcePositionTableBuilder::OVERWRITE_DUPLICATE); |
} |
void BytecodeArrayBuilder::SetStatementPosition(Statement* stmt) { |