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/ir/utils.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/ir/utils.h')
-rw-r--r-- | src/ir/utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ir/utils.h b/src/ir/utils.h index db437875d..c91698124 100644 --- a/src/ir/utils.h +++ b/src/ir/utils.h @@ -128,7 +128,7 @@ struct ReFinalize : public WalkerPass<PostWalker<ReFinalize, OverriddenVisitor<R void visitAtomicRMW(AtomicRMW* curr); void visitAtomicCmpxchg(AtomicCmpxchg* curr); void visitAtomicWait(AtomicWait* curr); - void visitAtomicWake(AtomicWake* curr); + void visitAtomicNotify(AtomicNotify* curr); void visitSIMDExtract(SIMDExtract* curr); void visitSIMDReplace(SIMDReplace* curr); void visitSIMDShuffle(SIMDShuffle* curr); @@ -184,7 +184,7 @@ struct ReFinalizeNode : public OverriddenVisitor<ReFinalizeNode> { void visitAtomicRMW(AtomicRMW* curr) { curr->finalize(); } void visitAtomicCmpxchg(AtomicCmpxchg* curr) { curr->finalize(); } void visitAtomicWait(AtomicWait* curr) { curr->finalize(); } - void visitAtomicWake(AtomicWake* curr) { curr->finalize(); } + void visitAtomicNotify(AtomicNotify* curr) { curr->finalize(); } void visitSIMDExtract(SIMDExtract* curr) { curr->finalize(); } void visitSIMDReplace(SIMDReplace* curr) { curr->finalize(); } void visitSIMDShuffle(SIMDShuffle* curr) { curr->finalize(); } |