Description[wasm] Add iterators for opcodes or offsets of one function
We have the BytecodeIterator with next() and has_next() methods, and
pc_offset() and current() accessors.
This CL adds an interface to iterate over the opcodes or offsets in a
C++ foreach loop.
R=titzer@chromium.org
Review-Url: https://codereview.chromium.org/2587143002
Cr-Commit-Position: refs/heads/master@{#41851}
Committed: https://chromium.googlesource.com/v8/v8/+/6361f133ab7524e8717703ff6b16398046fb1560
Patch Set 1 #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 11 (7 generated)
|