summaryrefslogtreecommitdiff
path: root/src/passes/StackCheck.cpp
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2022-01-21 11:09:34 -0800
committerGitHub <noreply@github.com>2022-01-21 11:09:34 -0800
commit02ef6b11d740f5a3aa2071b53b35c306d6ddfa7a (patch)
tree00466c409634df147d52d9400a263f563bd642b4 /src/passes/StackCheck.cpp
parent060442225165d0423d06ea33ab865e850b54f61b (diff)
downloadbinaryen-02ef6b11d740f5a3aa2071b53b35c306d6ddfa7a.tar.gz
binaryen-02ef6b11d740f5a3aa2071b53b35c306d6ddfa7a.tar.bz2
binaryen-02ef6b11d740f5a3aa2071b53b35c306d6ddfa7a.zip
Create `ParentIndexIterator` to reduce iterator boilerplate (#4469)
Add a utility class for defining all the common operations like pre- and post- increment and decrement, addition and subtraction, and assigning addition and subtraction for iterators that are comprised of a parent object and an index into that parent object. Use the new utility to reduce the boilerplate in wasm-type.h. Add a new test of the iterator behavior.
Diffstat (limited to 'src/passes/StackCheck.cpp')
0 files changed, 0 insertions, 0 deletions