Commit f7969b1d authored by ben's avatar ben Committed by Commit bot

Meaningful name for builtins in JitCodeEvent API.

Report builtins by name (e.g. "Builtin:ArgumentsAdaptorTrampoline")
instead of labeling everything "Builtin:A builtin from the snapshot".

BUG=

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

Cr-Commit-Position: refs/heads/master@{#29339}
parent 9295dd0d
...@@ -1610,7 +1610,7 @@ void Logger::LogCodeObject(Object* object) { ...@@ -1610,7 +1610,7 @@ void Logger::LogCodeObject(Object* object) {
tag = Logger::REG_EXP_TAG; tag = Logger::REG_EXP_TAG;
break; break;
case Code::BUILTIN: case Code::BUILTIN:
description = "A builtin from the snapshot"; description = isolate_->builtins()->name(code_object->builtin_index());
tag = Logger::BUILTIN_TAG; tag = Logger::BUILTIN_TAG;
break; break;
case Code::HANDLER: case Code::HANDLER:
......
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