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

Issue 1723223002: [Interpreter] Textual representation for runtime function IDs. (Closed)

Created:
4 years, 10 months ago by Stefano Sanfilippo
Modified:
4 years, 10 months ago
Reviewers:
oth, rmcilroy
CC:
v8-reviews_googlegroups.com, oth, rmcilroy
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Interpreter] Readable representation of runtime function IDs. The first operand to the CallRuntime class of bytecodes is the ID of the runtime function being called. Before this commit the ID was printed as plain uint16_t, now we get something like: B(CallRuntime) U16(Runtime::Add) ... This change is intended to make both the golden files more resistant to modifications of the i::Runtime::FunctionId enum and the output of generate-bytecode-expectations more readable. BUG=v8:4280 LOG=N Committed: https://crrev.com/bb2f68460e5dd8b04d1cc7b1d123fed39c221e20 Cr-Commit-Position: refs/heads/master@{#34224}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Review. #

Total comments: 2

Patch Set 3 : CallJSRuntime != CallRuntime, DCHECK op type, Runtime::k prefix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -1 line) Patch
M src/interpreter/bytecodes.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/interpreter/bytecodes.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M test/cctest/interpreter/bytecode-expectations-printer.cc View 1 2 3 chunks +13 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 25 (13 generated)
Stefano Sanfilippo
4 years, 10 months ago (2016-02-23 17:13:33 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1723223002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1723223002/1
4 years, 10 months ago (2016-02-23 17:16:33 UTC) #6
oth
Thanks, very nice. lgtm with a pair of minor suggestions. https://codereview.chromium.org/1723223002/diff/1/src/interpreter/bytecodes.h File src/interpreter/bytecodes.h (right): https://codereview.chromium.org/1723223002/diff/1/src/interpreter/bytecodes.h#newcode481 ...
4 years, 10 months ago (2016-02-23 17:37:15 UTC) #7
Stefano Sanfilippo
https://codereview.chromium.org/1723223002/diff/1/src/interpreter/bytecodes.h File src/interpreter/bytecodes.h (right): https://codereview.chromium.org/1723223002/diff/1/src/interpreter/bytecodes.h#newcode481 src/interpreter/bytecodes.h:481: // Returns true if the bytecode is a call ...
4 years, 10 months ago (2016-02-23 17:43:51 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1723223002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1723223002/20001
4 years, 10 months ago (2016-02-23 17:44:31 UTC) #10
rmcilroy
LGTM https://codereview.chromium.org/1723223002/diff/20001/test/cctest/interpreter/bytecode-expectations-printer.cc File test/cctest/interpreter/bytecode-expectations-printer.cc (right): https://codereview.chromium.org/1723223002/diff/20001/test/cctest/interpreter/bytecode-expectations-printer.cc#newcode147 test/cctest/interpreter/bytecode-expectations-printer.cc:147: int operand = bytecode_iter.GetIndexOperand(op_index); Could you add a ...
4 years, 10 months ago (2016-02-23 17:53:23 UTC) #11
Stefano Sanfilippo
https://codereview.chromium.org/1723223002/diff/20001/test/cctest/interpreter/bytecode-expectations-printer.cc File test/cctest/interpreter/bytecode-expectations-printer.cc (right): https://codereview.chromium.org/1723223002/diff/20001/test/cctest/interpreter/bytecode-expectations-printer.cc#newcode147 test/cctest/interpreter/bytecode-expectations-printer.cc:147: int operand = bytecode_iter.GetIndexOperand(op_index); On 2016/02/23 17:53:23, rmcilroy wrote: ...
4 years, 10 months ago (2016-02-23 17:59:24 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1723223002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1723223002/40001
4 years, 10 months ago (2016-02-23 18:02:47 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-23 19:03:51 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1723223002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1723223002/40001
4 years, 10 months ago (2016-02-23 19:08:36 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-23 19:10:24 UTC) #23
commit-bot: I haz the power
4 years, 10 months ago (2016-02-23 19:10:56 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/bb2f68460e5dd8b04d1cc7b1d123fed39c221e20
Cr-Commit-Position: refs/heads/master@{#34224}

Powered by Google App Engine
This is Rietveld 408576698