| Index: src/interpreter/bytecode-array-writer.cc
|
| diff --git a/src/interpreter/bytecode-array-writer.cc b/src/interpreter/bytecode-array-writer.cc
|
| index 34d90b4372a542e20cd098bcf3563eb1f09b3ed3..c7d1db2da6bf14198f08ab5c5ab5b90a2bff4845 100644
|
| --- a/src/interpreter/bytecode-array-writer.cc
|
| +++ b/src/interpreter/bytecode-array-writer.cc
|
| @@ -94,9 +94,9 @@ void BytecodeArrayWriter::UpdateSourcePositionTable(
|
| int bytecode_offset = static_cast<int>(bytecodes()->size());
|
| const BytecodeSourceInfo& source_info = node->source_info();
|
| if (source_info.is_valid()) {
|
| - source_position_table_builder()->AddPosition(bytecode_offset,
|
| - source_info.source_position(),
|
| - source_info.is_statement());
|
| + source_position_table_builder()->AddPosition(
|
| + bytecode_offset, SourcePosition(source_info.source_position()),
|
| + source_info.is_statement());
|
| }
|
| }
|
|
|
|
|