Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index cd32c4db21df55080243eae3d419a9436fb8c5f6..2ce6eece1b6b68a94611ee70df354be83fedf0c0 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -665,12 +665,14 @@ void FullCodeGenerator::EmitHasProperty() { |
void FullCodeGenerator::RecordStatementPosition(int pos) { |
DCHECK_NE(kNoSourcePosition, pos); |
- source_position_table_builder_.AddPosition(masm_->pc_offset(), pos, true); |
+ source_position_table_builder_.AddPosition(masm_->pc_offset(), |
+ SourcePosition(pos), true); |
} |
void FullCodeGenerator::RecordPosition(int pos) { |
DCHECK_NE(kNoSourcePosition, pos); |
- source_position_table_builder_.AddPosition(masm_->pc_offset(), pos, false); |
+ source_position_table_builder_.AddPosition(masm_->pc_offset(), |
+ SourcePosition(pos), false); |
} |