Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1063)

Unified Diff: src/builtins.cc

Issue 2061623002: Introduce JIT code events dispatcher for the isolate. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « BUILD.gn ('k') | src/code-events.h » ('j') | src/isolate.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins.cc
diff --git a/src/builtins.cc b/src/builtins.cc
index dcbeb2a6287eb8d3f09d30f6737e7aad9850b8a5..918e243329f3f8160cfac9e05e11d052a026cd25 100644
--- a/src/builtins.cc
+++ b/src/builtins.cc
@@ -22,7 +22,6 @@
#include "src/json-parser.h"
#include "src/json-stringifier.h"
#include "src/messages.h"
-#include "src/profiler/cpu-profiler.h"
#include "src/property-descriptor.h"
#include "src/prototype.h"
#include "src/string-builder.h"
@@ -5676,8 +5675,8 @@ void Builtins::SetUp(Isolate* isolate, bool create_heap_objects) {
Handle<Code> code = (*functions[i].builder)(isolate, functions + i);
// Log the event and add the code to the builtins array.
PROFILE(isolate,
- CodeCreateEvent(Logger::BUILTIN_TAG, AbstractCode::cast(*code),
- functions[i].s_name));
+ CodeCreateEvent(CodeEventListener::BUILTIN_TAG,
+ AbstractCode::cast(*code), functions[i].s_name));
builtins_[i] = *code;
code->set_builtin_index(i);
#ifdef ENABLE_DISASSEMBLER
« no previous file with comments | « BUILD.gn ('k') | src/code-events.h » ('j') | src/isolate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698