Skip to content

Commit 1a51f00

Browse files
committed
v8: cherry-pick JitCodeEvent patch from upstream
Original commit log follows: 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" Review URL: https://codereview.chromium.org/1216833002 PR-URL: #2075 Reviewed-By: Trevor Norris <[email protected]>
1 parent 9e890fe commit 1a51f00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/v8/src/log.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1648,7 +1648,7 @@ void Logger::LogCodeObject(Object* object) {
16481648
tag = Logger::REG_EXP_TAG;
16491649
break;
16501650
case Code::BUILTIN:
1651-
description = "A builtin from the snapshot";
1651+
description = isolate_->builtins()->name(code_object->builtin_index());
16521652
tag = Logger::BUILTIN_TAG;
16531653
break;
16541654
case Code::HANDLER:

0 commit comments

Comments
 (0)