Index: src/codegen.cc |
diff --git a/src/codegen.cc b/src/codegen.cc |
index 2031b321a4bd698223848df9ba7fc0b300fcfe6f..e988810b5742be2d0229bdfe576f5b958417a4de 100644 |
--- a/src/codegen.cc |
+++ b/src/codegen.cc |
@@ -114,11 +114,9 @@ Handle<Code> CodeGenerator::MakeCodeEpilogue(MacroAssembler* masm, |
Handle<Code> code = |
isolate->factory()->NewCode(desc, flags, masm->CodeObject(), |
false, is_crankshafted); |
- if (!code.is_null()) { |
- isolate->counters()->total_compiled_code_size()->Increment( |
- code->instruction_size()); |
- code->set_prologue_offset(info->prologue_offset()); |
- } |
+ isolate->counters()->total_compiled_code_size()->Increment( |
+ code->instruction_size()); |
+ code->set_prologue_offset(info->prologue_offset()); |
return code; |
} |