diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2020-02-28 14:07:51 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-28 14:07:51 -0800 |
commit | 6371cf63687c3f638b599e086ca668c04a26cbbb (patch) | |
tree | 7fb7544152ae7c38cbe520aa309b82db034dfc0d /src/wasm-binary.h | |
parent | 1f682f4323cb6b7d81dabccb0b989e6e542da7ce (diff) | |
download | binaryen-6371cf63687c3f638b599e086ca668c04a26cbbb.tar.gz binaryen-6371cf63687c3f638b599e086ca668c04a26cbbb.tar.bz2 binaryen-6371cf63687c3f638b599e086ca668c04a26cbbb.zip |
Simplify binary block parsing (#2674)
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r-- | src/wasm-binary.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h index a2a92c752..ce7feeb04 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -1261,7 +1261,7 @@ public: int depth = 0; // only for debugging BinaryConsts::ASTNodes readExpression(Expression*& curr); - void pushBlockElements(Block* curr, size_t start, size_t end); + void pushBlockElements(Block* curr, Type type, size_t start); void visitBlock(Block* curr); // Gets a block of expressions. If it's just one, return that singleton. |