| Index: src/crankshaft/ppc/lithium-codegen-ppc.cc
|
| diff --git a/src/crankshaft/ppc/lithium-codegen-ppc.cc b/src/crankshaft/ppc/lithium-codegen-ppc.cc
|
| index 056c93a820f0ff777853b6fd9b5148fab9a9f17b..0832f7ed4ddeb6782c34c56fcc970b011feb067f 100644
|
| --- a/src/crankshaft/ppc/lithium-codegen-ppc.cc
|
| +++ b/src/crankshaft/ppc/lithium-codegen-ppc.cc
|
| @@ -61,6 +61,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);
|
| }
|
|
|
| @@ -833,12 +836,6 @@ void LCodeGen::RecordSafepointWithRegisters(LPointerMap* pointers,
|
| }
|
|
|
|
|
| -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)";
|
|
|