diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/wasm-s-parser.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm-s-parser.h b/src/wasm-s-parser.h index 3277d8d3d..adad3949e 100644 --- a/src/wasm-s-parser.h +++ b/src/wasm-s-parser.h @@ -191,8 +191,6 @@ public: } } - Expression* parseExpression(Element& s); // useful in shell assert tests - private: void parseModuleElement(Element& curr) { @@ -251,6 +249,7 @@ private: abort(); } +public: Expression* parseExpression(Element* s) { return parseExpression(*s); } @@ -402,6 +401,7 @@ private: } } +private: Expression* makeBinary(Element& s, BinaryOp op, WasmType type) { auto ret = allocator.alloc<Binary>(); ret->op = op; |