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

Issue 2519923002: [ignition] Refactor array iterator to separate out access (Closed)

Created:
4 years, 1 month ago by Leszek Swirski
Modified:
4 years, 1 month ago
Reviewers:
rmcilroy
CC:
v8-reviews_googlegroups.com, rmcilroy
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[ignition] Refactor array iterator to separate out access Refactors the bytecode array iterator to separate the iteration and the bytecode parameter access, placing the latter into a separate super-class. This will allow us to have other forms of access, e.g. reverse iteration. Committed: https://crrev.com/ae8a77ea5f3edcd621fb0e7c017af92217a6de94 Cr-Commit-Position: refs/heads/master@{#41152}

Patch Set 1 #

Patch Set 2 : Fix objects-inl.h include #

Total comments: 4

Patch Set 3 : Final class and private function #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -252 lines) Patch
M BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A + src/interpreter/bytecode-array-accessor.h View 1 2 4 chunks +12 lines, -9 lines 0 comments Download
A + src/interpreter/bytecode-array-accessor.cc View 10 chunks +26 lines, -27 lines 0 comments Download
M src/interpreter/bytecode-array-iterator.h View 1 2 2 chunks +5 lines, -44 lines 0 comments Download
M src/interpreter/bytecode-array-iterator.cc View 1 2 chunks +3 lines, -172 lines 0 comments Download
M src/v8.gyp View 1 chunk +2 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (17 generated)
Leszek Swirski
Hey Ross, here's a small refactor which I use for the reverse iterator.
4 years, 1 month ago (2016-11-21 14:06:28 UTC) #10
rmcilroy
LGTM with two comments. https://codereview.chromium.org/2519923002/diff/20001/src/interpreter/bytecode-array-accessor.h File src/interpreter/bytecode-array-accessor.h (right): https://codereview.chromium.org/2519923002/diff/20001/src/interpreter/bytecode-array-accessor.h#newcode25 src/interpreter/bytecode-array-accessor.h:25: bool OffsetInBounds() const; nit - ...
4 years, 1 month ago (2016-11-21 14:14:27 UTC) #11
Leszek Swirski
https://codereview.chromium.org/2519923002/diff/20001/src/interpreter/bytecode-array-accessor.h File src/interpreter/bytecode-array-accessor.h (right): https://codereview.chromium.org/2519923002/diff/20001/src/interpreter/bytecode-array-accessor.h#newcode25 src/interpreter/bytecode-array-accessor.h:25: bool OffsetInBounds() const; On 2016/11/21 14:14:26, rmcilroy wrote: > ...
4 years, 1 month ago (2016-11-21 16:49:03 UTC) #14
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/2519923002/40001
4 years, 1 month ago (2016-11-21 17:16:26 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-21 17:18:26 UTC) #21
commit-bot: I haz the power
4 years, 1 month ago (2016-11-21 17:19:02 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ae8a77ea5f3edcd621fb0e7c017af92217a6de94
Cr-Commit-Position: refs/heads/master@{#41152}

Powered by Google App Engine
This is Rietveld 408576698