Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Commit 88a27a9

Browse files
bnoordhuisColin Ihrig
authored and
Colin Ihrig
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 Reviewed-By: Colin Ihrig <[email protected]> PR-URL: #25589
1 parent 8917e43 commit 88a27a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/v8/src/log.cc

Lines changed: 1 addition & 1 deletion
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)