Index: src/lithium.cc |
diff --git a/src/lithium.cc b/src/lithium.cc |
index 790a2182b176ac5d86e701e01395297d90c6e5ca..fa837c7edef2fbbd23f5f7d9f983bd107b76998c 100644 |
--- a/src/lithium.cc |
+++ b/src/lithium.cc |
@@ -461,12 +461,10 @@ Handle<Code> LChunk::Codegen() { |
CodeGenerator::MakeCodeEpilogue(&assembler, flags, info()); |
generator.FinishCode(code); |
code->set_is_crankshafted(true); |
- if (!code.is_null()) { |
- void* jit_handler_data = |
- assembler.positions_recorder()->DetachJITHandlerData(); |
- LOG_CODE_EVENT(info()->isolate(), |
- CodeEndLinePosInfoRecordEvent(*code, jit_handler_data)); |
- } |
+ void* jit_handler_data = |
+ assembler.positions_recorder()->DetachJITHandlerData(); |
+ LOG_CODE_EVENT(info()->isolate(), |
+ CodeEndLinePosInfoRecordEvent(*code, jit_handler_data)); |
CodeGenerator::PrintCode(code, info()); |
return code; |