From 812bce93447756891e311334bff413e3b79ed2c7 Mon Sep 17 00:00:00 2001 From: Heejin Ahn Date: Sat, 30 Mar 2019 21:29:41 +0900 Subject: Rename atomic wait/notify instructions (#1972) This renames the following: - `i32.wait` -> `i32.atomic.wait` - `i64.wait` -> `i64.atomic.wait` - `wake` -> `atomic.notify` to match the spec. --- src/wasm-s-parser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wasm-s-parser.h') diff --git a/src/wasm-s-parser.h b/src/wasm-s-parser.h index 07de235a2..c80fa8b83 100644 --- a/src/wasm-s-parser.h +++ b/src/wasm-s-parser.h @@ -191,7 +191,7 @@ private: Expression* makeAtomicRMW(Element& s, Type type, uint8_t bytes, const char* extra); Expression* makeAtomicCmpxchg(Element& s, Type type, uint8_t bytes, const char* extra); Expression* makeAtomicWait(Element& s, Type type); - Expression* makeAtomicWake(Element& s); + Expression* makeAtomicNotify(Element& s); Expression* makeSIMDExtract(Element& s, SIMDExtractOp op, size_t lanes); Expression* makeSIMDReplace(Element& s, SIMDReplaceOp op, size_t lanes); Expression* makeSIMDShuffle(Element& s); -- cgit v1.2.3