| Index: src/crankshaft/ia32/lithium-codegen-ia32.cc
|
| diff --git a/src/crankshaft/ia32/lithium-codegen-ia32.cc b/src/crankshaft/ia32/lithium-codegen-ia32.cc
|
| index e4854e70d5877614c424d5ed59cce8523f232029..f0af4dd56ce8b04deb063ae97cfbc0243423a591 100644
|
| --- a/src/crankshaft/ia32/lithium-codegen-ia32.cc
|
| +++ b/src/crankshaft/ia32/lithium-codegen-ia32.cc
|
| @@ -69,6 +69,9 @@ void LCodeGen::FinishCode(Handle<Code> code) {
|
| code->set_stack_slots(GetTotalFrameSlotCount());
|
| code->set_safepoint_table_offset(safepoints_.GetCodeOffset());
|
| PopulateDeoptimizationData(code);
|
| + Handle<ByteArray> source_positions =
|
| + source_position_table_builder_.ToSourcePositionTable();
|
| + code->set_source_position_table(*source_positions);
|
| if (info()->ShouldEnsureSpaceForLazyDeopt()) {
|
| Deoptimizer::EnsureRelocSpaceForLazyDeoptimization(code);
|
| }
|
| @@ -807,12 +810,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)";
|
|
|