Index: src/interpreter/bytecode-array-builder.cc |
diff --git a/src/interpreter/bytecode-array-builder.cc b/src/interpreter/bytecode-array-builder.cc |
index d6c63de7efd856de04a0eae484fe4519b377cd93..904a8e021d89febc00fbce950b293629d921d91b 100644 |
--- a/src/interpreter/bytecode-array-builder.cc |
+++ b/src/interpreter/bytecode-array-builder.cc |
@@ -51,9 +51,7 @@ BytecodeArrayBuilder::BytecodeArrayBuilder( |
pipeline_); |
} |
- return_position_ = |
- literal ? std::max(literal->start_position(), literal->end_position() - 1) |
- : kNoSourcePosition; |
+ return_position_ = literal ? literal->return_position() : kNoSourcePosition; |
} |
Register BytecodeArrayBuilder::first_context_register() const { |