Index: src/compiler/code-generator.cc |
diff --git a/src/compiler/code-generator.cc b/src/compiler/code-generator.cc |
index d1957336f2c4a6df106056273a7673ebedec395a..9fbc1d2de7a58fab03356c0039374e411c9ab85e 100644 |
--- a/src/compiler/code-generator.cc |
+++ b/src/compiler/code-generator.cc |
@@ -217,7 +217,8 @@ Handle<Code> CodeGenerator::GenerateCode() { |
// Emit a code line info recording stop event. |
void* line_info = recorder->DetachJITHandlerData(); |
- LOG_CODE_EVENT(isolate(), CodeEndLinePosInfoRecordEvent(*result, line_info)); |
+ LOG_CODE_EVENT(isolate(), CodeEndLinePosInfoRecordEvent( |
+ AbstractCode::cast(*result), line_info)); |
return result; |
} |