Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 8ec4fed005db342991899ec6fc59ad12e1b53f13..638a894ca77bbbe96eca63deddbccbba6f6a936d 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -15,7 +15,6 @@ |
#include "src/ic/ic.h" |
#include "src/macro-assembler.h" |
#include "src/parsing/parser.h" |
-#include "src/profiler/cpu-profiler.h" |
namespace v8 { |
namespace internal { |
@@ -83,8 +82,8 @@ void CodeStub::RecordCodeGeneration(Handle<Code> code) { |
std::ostringstream os; |
os << *this; |
PROFILE(isolate(), |
- CodeCreateEvent(Logger::STUB_TAG, AbstractCode::cast(*code), |
- os.str().c_str())); |
+ CodeCreateEvent(CodeEventListener::STUB_TAG, |
+ AbstractCode::cast(*code), os.str().c_str())); |
Counters* counters = isolate()->counters(); |
counters->total_stubs_code_size()->Increment(code->instruction_size()); |
#ifdef DEBUG |