Index: src/crankshaft/lithium.cc |
diff --git a/src/crankshaft/lithium.cc b/src/crankshaft/lithium.cc |
index 677639095a522f64a9729a6100ad5f8472df79d6..3717befa88f1d38f95fe5c1788cd0c16efdccd41 100644 |
--- a/src/crankshaft/lithium.cc |
+++ b/src/crankshaft/lithium.cc |
@@ -461,7 +461,8 @@ Handle<Code> LChunk::Codegen() { |
void* jit_handler_data = |
assembler.positions_recorder()->DetachJITHandlerData(); |
LOG_CODE_EVENT(info()->isolate(), |
- CodeEndLinePosInfoRecordEvent(*code, jit_handler_data)); |
+ CodeEndLinePosInfoRecordEvent(AbstractCode::cast(*code), |
+ jit_handler_data)); |
CodeGenerator::PrintCode(code, info()); |
DCHECK(!(info()->isolate()->serializer_enabled() && |