summaryrefslogtreecommitdiff
path: root/scripts/fuzz_relooper.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-09-07 10:55:02 -0700
committerGitHub <noreply@github.com>2016-09-07 10:55:02 -0700
commit135a20cd110d356d5d098a08a7b447205adaed7a (patch)
treef5200a6b35f19d1bf95dea1fa7e339f40391413b /scripts/fuzz_relooper.py
parentfbe77b167002e8a49225b607ca8c37dc7e4b41fe (diff)
parentdd197d3212ac28e778d372df9d03e58b21386648 (diff)
downloadbinaryen-135a20cd110d356d5d098a08a7b447205adaed7a.tar.gz
binaryen-135a20cd110d356d5d098a08a7b447205adaed7a.tar.bz2
binaryen-135a20cd110d356d5d098a08a7b447205adaed7a.zip
Merge pull request #678 from WebAssembly/stack
Stack machine + 0xc update
Diffstat (limited to 'scripts/fuzz_relooper.py')
-rw-r--r--scripts/fuzz_relooper.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/fuzz_relooper.py b/scripts/fuzz_relooper.py
index 53a16c8bd..52c296e58 100644
--- a/scripts/fuzz_relooper.py
+++ b/scripts/fuzz_relooper.py
@@ -114,7 +114,8 @@ int main() {
BinaryenLoad(module, 4, 0, 0, 0, BinaryenInt32(),
BinaryenConst(module, BinaryenLiteralInt32(4))),
BinaryenConst(module, BinaryenLiteralInt32(4))
- )
+ ),
+ BinaryenInt32()
);
// optionally, print the return value
@@ -252,7 +253,8 @@ int main() {
full[i] = BinaryenStore(module,
4, 0, 0,
BinaryenConst(module, BinaryenLiteralInt32(8 + 4 * i)),
- BinaryenConst(module, BinaryenLiteralInt32(decisions[i]))
+ BinaryenConst(module, BinaryenLiteralInt32(decisions[i])),
+ BinaryenInt32()
);
}
}