summaryrefslogtreecommitdiff
path: root/src/passes/Precompute.cpp
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2019-03-30 21:29:41 +0900
committerGitHub <noreply@github.com>2019-03-30 21:29:41 +0900
commit812bce93447756891e311334bff413e3b79ed2c7 (patch)
treec7384776132f2e46c5d2697897b55e593fa38f12 /src/passes/Precompute.cpp
parent3e2529386d221841137bd558fab71c91b5e00f1b (diff)
downloadbinaryen-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/passes/Precompute.cpp')
-rw-r--r--src/passes/Precompute.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/Precompute.cpp b/src/passes/Precompute.cpp
index 5e9d9c9ea..6f59fceb7 100644
--- a/src/passes/Precompute.cpp
+++ b/src/passes/Precompute.cpp
@@ -119,7 +119,7 @@ public:
Flow visitAtomicWait(AtomicWait *curr) {
return Flow(NOTPRECOMPUTABLE_FLOW);
}
- Flow visitAtomicWake(AtomicWake *curr) {
+ Flow visitAtomicNotify(AtomicNotify *curr) {
return Flow(NOTPRECOMPUTABLE_FLOW);
}
Flow visitHost(Host *curr) {