Index: src/crankshaft/s390/lithium-codegen-s390.cc |
diff --git a/src/crankshaft/s390/lithium-codegen-s390.cc b/src/crankshaft/s390/lithium-codegen-s390.cc |
index 890545ce9c7ab5221dbc49f948fb88496e753652..8c659de7e771b42ccc5977811f72e596e5163670 100644 |
--- a/src/crankshaft/s390/lithium-codegen-s390.cc |
+++ b/src/crankshaft/s390/lithium-codegen-s390.cc |
@@ -55,6 +55,9 @@ void LCodeGen::FinishCode(Handle<Code> code) { |
DCHECK(is_done()); |
code->set_stack_slots(GetTotalFrameSlotCount()); |
code->set_safepoint_table_offset(safepoints_.GetCodeOffset()); |
+ Handle<ByteArray> source_positions = |
+ source_position_table_builder_.ToSourcePositionTable(); |
+ code->set_source_position_table(*source_positions); |
PopulateDeoptimizationData(code); |
} |
@@ -816,11 +819,6 @@ void LCodeGen::RecordSafepointWithRegisters(LPointerMap* pointers, |
RecordSafepoint(pointers, Safepoint::kWithRegisters, arguments, deopt_mode); |
} |
-void LCodeGen::RecordAndWritePosition(int position) { |
- if (position == RelocInfo::kNoPosition) return; |
- masm()->positions_recorder()->RecordPosition(position); |
-} |
- |
static const char* LabelType(LLabel* label) { |
if (label->is_loop_header()) return " (loop header)"; |
if (label->is_osr_entry()) return " (OSR entry)"; |