Index: src/codegen.cc |
diff --git a/src/codegen.cc b/src/codegen.cc |
index d33c7f06bd44e077badacee8ec2e3ca2bf1b1014..b15324c8cf0ba6f98a7a8fa481f58bc2de0606bb 100644 |
--- a/src/codegen.cc |
+++ b/src/codegen.cc |
@@ -116,6 +116,8 @@ Handle<Code> CodeGenerator::MakeCodeEpilogue(MacroAssembler* masm, |
false, is_crankshafted); |
isolate->counters()->total_compiled_code_size()->Increment( |
code->instruction_size()); |
+ isolate->heap()->IncrementCodeGeneratedBytes(is_crankshafted, |
+ code->instruction_size()); |
code->set_prologue_offset(info->prologue_offset()); |
return code; |
} |