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

Issue 2518003002: [ignition] Add a reverse bytecode iterator (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] Add a reverse bytecode iterator This pre-calculates and stores a vector of bytecode offsets, and then allows one to iterate over it backwards. This could probably be adapted to a bidirectional/random access iterator if we wanted to, but for now reverse is all we need. Committed: https://crrev.com/f91178e8230522abdfbc9aeb089cc237a323baa8 Cr-Commit-Position: refs/heads/master@{#41153}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Make class final #

Unified diffs Side-by-side diffs Delta from patch set Stats (+379 lines, -0 lines) Patch
M BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A src/interpreter/bytecode-array-reverse-iterator.h View 1 1 chunk +39 lines, -0 lines 0 comments Download
A src/interpreter/bytecode-array-reverse-iterator.cc View 1 chunk +46 lines, -0 lines 0 comments Download
M src/v8.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M test/unittests/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A test/unittests/interpreter/bytecode-array-reverse-iterator-unittest.cc View 1 chunk +288 lines, -0 lines 0 comments Download
M test/unittests/unittests.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 21 (15 generated)
Leszek Swirski
Hi Ross, Here's the reverse iterator itself.
4 years, 1 month ago (2016-11-21 14:12:45 UTC) #4
rmcilroy
lgtm https://codereview.chromium.org/2518003002/diff/1/src/interpreter/bytecode-array-reverse-iterator.h File src/interpreter/bytecode-array-reverse-iterator.h (right): https://codereview.chromium.org/2518003002/diff/1/src/interpreter/bytecode-array-reverse-iterator.h#newcode16 src/interpreter/bytecode-array-reverse-iterator.h:16: class V8_EXPORT_PRIVATE BytecodeArrayReverseIterator final
4 years, 1 month ago (2016-11-21 15:06:59 UTC) #7
commit-bot: I haz the power
This CL has an open dependency (Issue 2519923002 Patch 40001). Please resolve the dependency and ...
4 years, 1 month ago (2016-11-21 17:16:36 UTC) #15
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/2518003002/20001
4 years, 1 month ago (2016-11-21 17:18:55 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-21 17:20:58 UTC) #19
commit-bot: I haz the power
4 years, 1 month ago (2016-11-21 17:21:21 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f91178e8230522abdfbc9aeb089cc237a323baa8
Cr-Commit-Position: refs/heads/master@{#41153}

Powered by Google App Engine
This is Rietveld 408576698