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

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: rebaseline 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') | no next file with comments »
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 1aa886ac3e6428264c4ba99b2ab4bc14500a0ee0..06aea8fc6fe07d4483b98755e8b045447697e194 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"
@@ -5692,8 +5691,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698