Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index 80f3788ac26b531e4371533474177c5be1ceee27..c770e189b357112d8a87395bc36e7f2c781dfc86 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -563,9 +563,10 @@ void FullCodeGenerator::SetStatementPosition(int pos) { |
} |
-void FullCodeGenerator::SetSourcePosition(int pos) { |
+void FullCodeGenerator::SetSourcePosition( |
+ int pos, PositionRecordingType recording_type) { |
if (FLAG_debug_info && pos != RelocInfo::kNoPosition) { |
- masm_->RecordPosition(pos); |
+ masm_->positions_recorder()->RecordPosition(pos, recording_type); |
} |
} |