Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index 3f18219e2c8619c2d4bee7f84949e3e6cb7b7fc8..2aa769b80573c817091846d117fa8c6e5abe471d 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -67,7 +67,8 @@ bool FullCodeGenerator::MakeCode(CompilationInfo* info) { |
CodeGenerator::PrintCode(code, info); |
info->SetCode(code); |
void* line_info = masm.positions_recorder()->DetachJITHandlerData(); |
- LOG_CODE_EVENT(isolate, CodeEndLinePosInfoRecordEvent(*code, line_info)); |
+ LOG_CODE_EVENT(isolate, CodeEndLinePosInfoRecordEvent( |
+ AbstractCode::cast(*code), line_info)); |
#ifdef DEBUG |
// Check that no context-specific object has been embedded. |