Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Issue 2712943002: [interpreter] Teach --print-bytecode the names of runtime functions and intrinsics. (Closed)

Created:
3 years, 10 months ago by neis
Modified:
3 years, 10 months ago
Reviewers:
rmcilroy, gsathya
CC:
v8-reviews_googlegroups.com, rmcilroy, caitp
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[interpreter] Teach --print-bytecode the names of runtime functions and intrinsics. This changes the bytecode decoder such that --print-bytecode will print ... CallRuntime [GeneratorGetResumeMode] ... ... InvokeIntrinsic [CreateIterResultObject] ... instead of ... CallRuntime [762] ... ... InvokeIntrinsic [2] ... The printing of CallJSRuntime remains unchanged. R=gsathya@chromium.org, rmcilroy@chromium.org BUG= Review-Url: https://codereview.chromium.org/2712943002 Cr-Commit-Position: refs/heads/master@{#43391} Committed: https://chromium.googlesource.com/v8/v8/+/c0651535d5a67dac1587fb1794bbf4cf5516164e

Patch Set 1 #

Patch Set 2 : Make test robust again. #

Total comments: 2

Patch Set 3 : Make use of ToRuntimeId. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -5 lines) Patch
M src/interpreter/bytecode-decoder.cc View 1 2 3 chunks +29 lines, -3 lines 0 comments Download
M test/unittests/interpreter/bytecode-decoder-unittest.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
neis
3 years, 10 months ago (2017-02-23 12:43:18 UTC) #1
neis
ptal
3 years, 10 months ago (2017-02-23 12:54:25 UTC) #2
rmcilroy
Awesome, thanks! One suggestion but otherwise LGTM. https://codereview.chromium.org/2712943002/diff/20001/src/interpreter/bytecode-decoder.cc File src/interpreter/bytecode-decoder.cc (right): https://codereview.chromium.org/2712943002/diff/20001/src/interpreter/bytecode-decoder.cc#newcode150 src/interpreter/bytecode-decoder.cc:150: os << ...
3 years, 10 months ago (2017-02-23 13:47:14 UTC) #3
neis
https://codereview.chromium.org/2712943002/diff/20001/src/interpreter/bytecode-decoder.cc File src/interpreter/bytecode-decoder.cc (right): https://codereview.chromium.org/2712943002/diff/20001/src/interpreter/bytecode-decoder.cc#newcode150 src/interpreter/bytecode-decoder.cc:150: os << "[" << NameForIntrinsicId(DecodeUnsignedOperand( On 2017/02/23 13:47:13, rmcilroy ...
3 years, 10 months ago (2017-02-23 14:02:55 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2712943002/40001
3 years, 10 months ago (2017-02-23 14:03:09 UTC) #8
commit-bot: I haz the power
3 years, 10 months ago (2017-02-23 14:25:51 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/c0651535d5a67dac1587fb1794bbf4cf551...

Powered by Google App Engine
This is Rietveld 408576698