| Index: src/crankshaft/arm64/lithium-codegen-arm64.cc
|
| diff --git a/src/crankshaft/arm64/lithium-codegen-arm64.cc b/src/crankshaft/arm64/lithium-codegen-arm64.cc
|
| index 8df6580ae752b753504990af3add787578840226..a593c50dfb2f19beb03509a8c7789a93f7f05ab4 100644
|
| --- a/src/crankshaft/arm64/lithium-codegen-arm64.cc
|
| +++ b/src/crankshaft/arm64/lithium-codegen-arm64.cc
|
| @@ -445,12 +445,6 @@ void LCodeGen::CallRuntimeFromDeferred(Runtime::FunctionId id,
|
| }
|
|
|
|
|
| -void LCodeGen::RecordAndWritePosition(int position) {
|
| - if (position == RelocInfo::kNoPosition) return;
|
| - masm()->positions_recorder()->RecordPosition(position);
|
| -}
|
| -
|
| -
|
| void LCodeGen::RecordSafepointWithLazyDeopt(LInstruction* instr,
|
| SafepointMode safepoint_mode) {
|
| if (safepoint_mode == RECORD_SIMPLE_SAFEPOINT) {
|
| @@ -824,6 +818,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);
|
| }
|
|
|
|
|