summaryrefslogtreecommitdiff
path: root/src/wasm-s-parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-s-parser.h')
-rw-r--r--src/wasm-s-parser.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/wasm-s-parser.h b/src/wasm-s-parser.h
index a0edc4b7a..1470701e4 100644
--- a/src/wasm-s-parser.h
+++ b/src/wasm-s-parser.h
@@ -224,13 +224,12 @@ private:
Expression* makeBlock(Element& s);
Expression* makeThenOrElse(Element& s);
Expression* makeConst(Element& s, Type type);
- Expression* makeLoad(Element& s, Type type, bool isAtomic);
- Expression* makeStore(Element& s, Type type, bool isAtomic);
- Expression* makeAtomicRMWOrCmpxchg(Element& s, Type type);
Expression*
- makeAtomicRMW(Element& s, Type type, uint8_t bytes, const char* extra);
+ makeLoad(Element& s, Type type, bool signed_, int bytes, bool isAtomic);
+ Expression* makeStore(Element& s, Type type, int bytes, bool isAtomic);
Expression*
- makeAtomicCmpxchg(Element& s, Type type, uint8_t bytes, const char* extra);
+ makeAtomicRMW(Element& s, AtomicRMWOp op, Type type, uint8_t bytes);
+ Expression* makeAtomicCmpxchg(Element& s, Type type, uint8_t bytes);
Expression* makeAtomicWait(Element& s, Type type);
Expression* makeAtomicNotify(Element& s);
Expression* makeAtomicFence(Element& s);