Commit 529c0328 authored by ssanfilippo's avatar ssanfilippo Committed by Commit bot

[Interpreter] Add OperandSize to code logging events for bytecode handlers.

BUG=v8:4280
LOG=N

Review URL: https://codereview.chromium.org/1827873002

Cr-Commit-Position: refs/heads/master@{#35055}
parent e718f49a
......@@ -47,9 +47,11 @@ void Interpreter::Initialize() {
size_t index = GetDispatchTableIndex(Bytecode::k##Name, operand_scale); \
dispatch_table_[index] = *code; \
TraceCodegen(code); \
LOG_CODE_EVENT(isolate_, \
CodeCreateEvent(Logger::BYTECODE_HANDLER_TAG, \
AbstractCode::cast(*code), #Name)); \
LOG_CODE_EVENT( \
isolate_, \
CodeCreateEvent( \
Logger::BYTECODE_HANDLER_TAG, AbstractCode::cast(*code), \
Bytecodes::ToString(Bytecode::k##Name, operand_scale).c_str())); \
} \
}
BYTECODE_LIST(GENERATE_CODE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment