Skip to content

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 <cjihrig@gmail.com> PR-URL: nodejs/node-v0.x-archive#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

+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)