diff options
author | Heejin Ahn <aheejin@gmail.com> | 2019-03-30 21:29:41 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-30 21:29:41 +0900 |
commit | 812bce93447756891e311334bff413e3b79ed2c7 (patch) | |
tree | c7384776132f2e46c5d2697897b55e593fa38f12 /src/wasm-s-parser.h | |
parent | 3e2529386d221841137bd558fab71c91b5e00f1b (diff) | |
download | binaryen-812bce93447756891e311334bff413e3b79ed2c7.tar.gz binaryen-812bce93447756891e311334bff413e3b79ed2c7.tar.bz2 binaryen-812bce93447756891e311334bff413e3b79ed2c7.zip |
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.
Diffstat (limited to 'src/wasm-s-parser.h')
-rw-r--r-- | src/wasm-s-parser.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |