Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 998f1bcb20c2c554b23c4e0cd664f57f2949d915..ed847b1bdefb296daa496ffee101b4e6f2585d7a 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -30,11 +30,11 @@ |
#include "compiler.h" |
#include "bootstrapper.h" |
+#include "code-events.h" |
#include "codegen.h" |
#include "compilation-cache.h" |
#include "debug.h" |
#include "full-codegen.h" |
-#include "gdb-jit.h" |
#include "hydrogen.h" |
#include "isolate-inl.h" |
#include "lithium.h" |
@@ -493,10 +493,10 @@ static Handle<SharedFunctionInfo> MakeFunctionInfo(CompilationInfo* info) { |
*info->code(), |
*result, |
String::cast(script->name()))); |
- GDBJIT(AddCode(Handle<String>(String::cast(script->name())), |
- script, |
- info->code(), |
- info)); |
+ JIT_CODE_EVENT(AddCode(Handle<String>(String::cast(script->name())), |
+ script, |
+ info->code(), |
+ info)); |
} else { |
PROFILE(isolate, CodeCreateEvent( |
info->is_eval() |
@@ -505,7 +505,7 @@ static Handle<SharedFunctionInfo> MakeFunctionInfo(CompilationInfo* info) { |
*info->code(), |
*result, |
isolate->heap()->empty_string())); |
- GDBJIT(AddCode(Handle<String>(), script, info->code(), info)); |
+ JIT_CODE_EVENT(AddCode(Handle<String>(), script, info->code(), info)); |
} |
// Hint to the runtime system used when allocating space for initial |
@@ -1027,10 +1027,10 @@ void Compiler::RecordFunctionCompilation(Logger::LogEventsAndTags tag, |
} |
} |
- GDBJIT(AddCode(Handle<String>(shared->DebugName()), |
- Handle<Script>(info->script()), |
- Handle<Code>(info->code()), |
- info)); |
+ JIT_CODE_EVENT(AddCode(Handle<String>(shared->DebugName()), |
+ Handle<Script>(info->script()), |
+ Handle<Code>(info->code()), |
+ info)); |
} |
} } // namespace v8::internal |