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

Issue 1325983002: [Intepreter] Extend and move Register class. (Closed)

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

Description

[Intepreter] Extend and move Register class. Add methods for converting parameter index to a register and vice-versa. Move Register class into bytecodes.h. Update Bytecodes::Decode to pretty print parameters. BUG=v8:4280 LOG=NO Committed: https://crrev.com/22983f71f95140d75faf8d5d0b0b7fdd2624e675 Cr-Commit-Position: refs/heads/master@{#30549}

Patch Set 1 #

Patch Set 2 : Fix bug in test. #

Total comments: 14

Patch Set 3 : Incorporate feedback on patch set 2. #

Total comments: 9

Patch Set 4 : Incorporate feedback on patch set 3. #

Patch Set 5 : Fix test, bug spotted by bots. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -45 lines) Patch
M src/interpreter/bytecode-array-builder.h View 1 2 3 chunks +0 lines, -30 lines 0 comments Download
M src/interpreter/bytecode-array-builder.cc View 1 2 2 chunks +11 lines, -8 lines 0 comments Download
M src/interpreter/bytecodes.h View 1 2 2 chunks +32 lines, -1 line 0 comments Download
M src/interpreter/bytecodes.cc View 1 2 3 4 chunks +54 lines, -5 lines 0 comments Download
M src/objects.cc View 1 chunk +1 line, -1 line 0 comments Download
A test/unittests/interpreter/bytecodes-unittest.cc View 1 2 3 4 1 chunk +63 lines, -0 lines 0 comments Download
M test/unittests/unittests.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 21 (7 generated)
oth
rmcilroy@ please take a look. thanks!
5 years, 3 months ago (2015-09-02 11:04:14 UTC) #2
rmcilroy
Looks good. My main suggestion is whether we can move Register class to bytecodes.h to ...
5 years, 3 months ago (2015-09-02 11:42:42 UTC) #3
oth
Thanks. Exposed Register in bytecodes.h. I didn't like it when writing PS1/2, but it is ...
5 years, 3 months ago (2015-09-02 14:02:20 UTC) #4
rmcilroy
Looks much cleaner, thanks. Lgtm once comments are addressed. https://codereview.chromium.org/1325983002/diff/40001/src/interpreter/bytecodes.cc File src/interpreter/bytecodes.cc (right): https://codereview.chromium.org/1325983002/diff/40001/src/interpreter/bytecodes.cc#newcode173 src/interpreter/bytecodes.cc:173: ...
5 years, 3 months ago (2015-09-02 15:22:29 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1325983002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1325983002/40001
5 years, 3 months ago (2015-09-02 16:19:08 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1325983002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1325983002/60001
5 years, 3 months ago (2015-09-02 16:26:19 UTC) #9
oth
Thanks. https://codereview.chromium.org/1325983002/diff/40001/src/interpreter/bytecodes.cc File src/interpreter/bytecodes.cc (right): https://codereview.chromium.org/1325983002/diff/40001/src/interpreter/bytecodes.cc#newcode173 src/interpreter/bytecodes.cc:173: On 2015/09/02 15:22:29, rmcilroy wrote: > nit extra ...
5 years, 3 months ago (2015-09-02 16:28:06 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_mac_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_mac_rel/builds/9405)
5 years, 3 months ago (2015-09-02 16:29:30 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/1325983002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1325983002/80001
5 years, 3 months ago (2015-09-02 16:49:47 UTC) #14
rmcilroy
Still lgtm, thanks! https://codereview.chromium.org/1325983002/diff/40001/src/interpreter/bytecodes.cc File src/interpreter/bytecodes.cc (right): https://codereview.chromium.org/1325983002/diff/40001/src/interpreter/bytecodes.cc#newcode183 src/interpreter/bytecodes.cc:183: DCHECK_LE(parameter_count, kMaxParameterIndex); Yes your right, thanks.
5 years, 3 months ago (2015-09-02 17:08:53 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-02 17:16:10 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1325983002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1325983002/80001
5 years, 3 months ago (2015-09-02 17:46:36 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 3 months ago (2015-09-02 17:48:17 UTC) #20
commit-bot: I haz the power
5 years, 3 months ago (2015-09-02 17:48:33 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/22983f71f95140d75faf8d5d0b0b7fdd2624e675
Cr-Commit-Position: refs/heads/master@{#30549}

Powered by Google App Engine
This is Rietveld 408576698