Skip to content

Commit

Permalink
v8: cherry-pick JitCodeEvent patch from upstream
Browse files Browse the repository at this point in the history
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: nodejs#2075
Reviewed-By: Trevor Norris <[email protected]>
  • Loading branch information
bnoordhuis authored and mscdex committed Jul 9, 2015
1 parent a892184 commit 3f81729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/v8/src/log.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1620,7 +1620,7 @@ void Logger::LogCodeObject(Object* object) {
tag = Logger::REG_EXP_TAG;
break;
case Code::BUILTIN:
description = "A builtin from the snapshot";
description = isolate_->builtins()->name(code_object->builtin_index());
tag = Logger::BUILTIN_TAG;
break;
case Code::HANDLER:
Expand Down

0 comments on commit 3f81729

Please sign in to comment.