Index: src/log.cc |
diff --git a/src/log.cc b/src/log.cc |
index 722f6d378d06a1221fe7146e025491b6f5981977..bc52d053f35a6e34e3be7fd3c126c221a95bc43b 100644 |
--- a/src/log.cc |
+++ b/src/log.cc |
@@ -1149,12 +1149,13 @@ void Logger::CodeLinePosInfoRecordEvent(AbstractCode* code, |
iter.Advance()) { |
if (iter.is_statement()) { |
jit_logger_->AddCodeLinePosInfoEvent( |
- jit_handler_data, iter.code_offset(), iter.source_position(), |
+ jit_handler_data, iter.code_offset(), |
+ iter.source_position().ScriptOffset(), |
JitCodeEvent::STATEMENT_POSITION); |
} |
- jit_logger_->AddCodeLinePosInfoEvent(jit_handler_data, iter.code_offset(), |
- iter.source_position(), |
- JitCodeEvent::POSITION); |
+ jit_logger_->AddCodeLinePosInfoEvent( |
+ jit_handler_data, iter.code_offset(), |
+ iter.source_position().ScriptOffset(), JitCodeEvent::POSITION); |
} |
jit_logger_->EndCodePosInfoEvent(code, jit_handler_data); |
} |