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

Issue 1822043005: [Interpreter] Add ValidBytecodeOperandSizeCombinationsIterator. (Closed)

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

Description

[Interpreter] Add ValidBytecodeOperandSizeCombinationsIterator. A ValidBytecodeOperandSizeCombinationsIterator iterates through all valid combinations of OperandSize and Bytecode, saving two nested loops and a check. BUG=v8:4280 LOG=N

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rebase on updated upstream. #

Total comments: 2

Patch Set 3 : Moving implementations out of class. #

Patch Set 4 : Rename class. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -0 lines) Patch
M src/interpreter/bytecodes.h View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download
M src/interpreter/bytecodes.cc View 1 2 3 1 chunk +35 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 13 (6 generated)
oth
Nice! A few minor comments, but looks like the right tool for the job. https://codereview.chromium.org/1822043005/diff/1/src/interpreter/bytecodes.h ...
4 years, 9 months ago (2016-03-24 15:38:36 UTC) #2
oth
On 2016/03/24 15:38:36, oth wrote: > Nice! A few minor comments, but looks like the ...
4 years, 9 months ago (2016-03-24 15:53:41 UTC) #3
Stefano Sanfilippo
https://codereview.chromium.org/1822043005/diff/1/src/interpreter/bytecodes.h File src/interpreter/bytecodes.h (right): https://codereview.chromium.org/1822043005/diff/1/src/interpreter/bytecodes.h#newcode550 src/interpreter/bytecodes.h:550: bool HasNext() { return !reached_end_; } On 2016/03/24 15:38:36, ...
4 years, 9 months ago (2016-03-24 16:02:27 UTC) #4
rmcilroy
https://codereview.chromium.org/1822043005/diff/20001/src/interpreter/bytecodes.h File src/interpreter/bytecodes.h (right): https://codereview.chromium.org/1822043005/diff/20001/src/interpreter/bytecodes.h#newcode531 src/interpreter/bytecodes.h:531: class BytecodesIterator final { If we do ever land ...
4 years, 9 months ago (2016-03-24 16:07:19 UTC) #6
Stefano Sanfilippo
https://codereview.chromium.org/1822043005/diff/20001/src/interpreter/bytecodes.h File src/interpreter/bytecodes.h (right): https://codereview.chromium.org/1822043005/diff/20001/src/interpreter/bytecodes.h#newcode531 src/interpreter/bytecodes.h:531: class BytecodesIterator final { On 2016/03/24 16:07:19, rmcilroy wrote: ...
4 years, 9 months ago (2016-03-24 16:16:34 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1822043005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1822043005/60001
4 years, 9 months ago (2016-03-24 16:58:19 UTC) #11
commit-bot: I haz the power
4 years, 9 months ago (2016-03-24 17:19:08 UTC) #13
Dry run: This issue passed the CQ dry run.

Powered by Google App Engine
This is Rietveld 408576698