Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index ea748980168ced9489d5c4c14ea80287a404c10c..9d5969bb46ed19a73e49b6dc72ac50553e4beedf 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -64,7 +64,7 @@ void CodeStub::RecordCodeGeneration(Code* code, MacroAssembler* masm) { |
OPROFILE(CreateNativeCodeRegion(GetName(), |
code->instruction_start(), |
code->instruction_size())); |
- LOG(CodeCreateEvent(Logger::STUB_TAG, code, GetName())); |
+ PROFILE(CodeCreateEvent(Logger::STUB_TAG, code, GetName())); |
Counters::total_stubs_code_size.Increment(code->instruction_size()); |
#ifdef ENABLE_DISASSEMBLER |