Index: src/interpreter/interpreter.cc |
diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc |
index 41641bb473bb0eee5b76fbf87e675ffab12b5689..422b5c16eee1700b8dbbe7b354e8790ed81707d1 100644 |
--- a/src/interpreter/interpreter.cc |
+++ b/src/interpreter/interpreter.cc |
@@ -11,6 +11,7 @@ |
#include "src/interpreter/bytecode-generator.h" |
#include "src/interpreter/bytecodes.h" |
#include "src/interpreter/interpreter-assembler.h" |
+#include "src/log.h" |
#include "src/zone.h" |
namespace v8 { |
@@ -37,6 +38,9 @@ void Interpreter::Initialize() { |
Do##Name(&assembler); \ |
Handle<Code> code = assembler.GenerateCode(); \ |
TraceCodegen(code, #Name); \ |
+ LOG_CODE_EVENT(isolate_, \ |
+ CodeCreateEvent(Logger::BYTECODE_HANDLER_TAG, \ |
+ AbstractCode::cast(*code), #Name)); \ |
dispatch_table_[Bytecodes::ToByte(Bytecode::k##Name)] = *code; \ |
} |
BYTECODE_LIST(GENERATE_CODE) |