Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index 262620b83064ee0f83447192d5d7510dca1b4425..3c8d10fa9abcf8c583082225e856c64a35c7970d 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); |
} |