Index: src/perf-jit.cc |
diff --git a/src/perf-jit.cc b/src/perf-jit.cc |
index 86f4c4d9b4ff301b1925991ae2005a646eeabadd..a45d9b3fd4a140c68c17940ad91736682e201bcb 100644 |
--- a/src/perf-jit.cc |
+++ b/src/perf-jit.cc |
@@ -284,7 +284,7 @@ SourcePositionInfo GetSourcePositionInfo(Handle<Code> code, |
void PerfJitLogger::LogWriteDebugInfo(Code* code, SharedFunctionInfo* shared) { |
// Compute the entry count and get the name of the script. |
uint32_t entry_count = 0; |
- for (SourcePositionTableIterator iterator(code->source_position_table()); |
+ for (SourcePositionTableIterator iterator(code->SourcePositionTable()); |
!iterator.done(); iterator.Advance()) { |
entry_count++; |
} |
@@ -305,7 +305,7 @@ void PerfJitLogger::LogWriteDebugInfo(Code* code, SharedFunctionInfo* shared) { |
Handle<Code> code_handle(code); |
Handle<SharedFunctionInfo> function_handle(shared); |
- for (SourcePositionTableIterator iterator(code->source_position_table()); |
+ for (SourcePositionTableIterator iterator(code->SourcePositionTable()); |
!iterator.done(); iterator.Advance()) { |
SourcePositionInfo info(GetSourcePositionInfo(code_handle, function_handle, |
iterator.source_position())); |
@@ -320,7 +320,7 @@ void PerfJitLogger::LogWriteDebugInfo(Code* code, SharedFunctionInfo* shared) { |
Address code_start = code->instruction_start(); |
- for (SourcePositionTableIterator iterator(code->source_position_table()); |
+ for (SourcePositionTableIterator iterator(code->SourcePositionTable()); |
!iterator.done(); iterator.Advance()) { |
SourcePositionInfo info(GetSourcePositionInfo(code_handle, function_handle, |
iterator.source_position())); |