| Index: src/compiler/code-generator.cc
|
| diff --git a/src/compiler/code-generator.cc b/src/compiler/code-generator.cc
|
| index 74c97dfc5387059974e9eb521cbbfd7e6ffe702b..d89452f732d47f2ac5a9c9bc0863d8e677cf4967 100644
|
| --- a/src/compiler/code-generator.cc
|
| +++ b/src/compiler/code-generator.cc
|
| @@ -73,10 +73,6 @@ Handle<Code> CodeGenerator::GenerateCode() {
|
| // the frame (that is done in AssemblePrologue).
|
| FrameScope frame_scope(masm(), StackFrame::MANUAL);
|
|
|
| - // Emit a code line info recording start event.
|
| - LOG_CODE_EVENT(isolate(), CodeStartLinePosInfoRecordEvent(
|
| - &source_position_table_builder_));
|
| -
|
| // Place function entry hook if requested to do so.
|
| if (linkage()->GetIncomingDescriptor()->IsJSFunctionCall()) {
|
| ProfileEntryHookStub::MaybeCallEntryHook(masm());
|
| @@ -213,6 +209,7 @@ Handle<Code> CodeGenerator::GenerateCode() {
|
| Handle<ByteArray> source_positions =
|
| source_position_table_builder_.ToSourcePositionTable();
|
| result->set_source_position_table(*source_positions);
|
| + source_position_table_builder_.EndJitLogging(AbstractCode::cast(*result));
|
|
|
| // Emit exception handler table.
|
| if (!handlers_.empty()) {
|
| @@ -238,11 +235,6 @@ Handle<Code> CodeGenerator::GenerateCode() {
|
| Deoptimizer::EnsureRelocSpaceForLazyDeoptimization(result);
|
| }
|
|
|
| - // Emit a code line info recording stop event.
|
| - void* line_info = source_position_table_builder_.DetachJITHandlerData();
|
| - LOG_CODE_EVENT(isolate(), CodeEndLinePosInfoRecordEvent(
|
| - AbstractCode::cast(*result), line_info));
|
| -
|
| return result;
|
| }
|
|
|
|
|