summaryrefslogtreecommitdiff
path: root/test/binaryen.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/binaryen.js')
-rw-r--r--test/binaryen.js/kitchen-sink.js2
-rw-r--r--test/binaryen.js/kitchen-sink.js.txt4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/binaryen.js/kitchen-sink.js b/test/binaryen.js/kitchen-sink.js
index 83e3d4a44..982bcc927 100644
--- a/test/binaryen.js/kitchen-sink.js
+++ b/test/binaryen.js/kitchen-sink.js
@@ -469,7 +469,7 @@ function test_core() {
),
module.drop(module.local.get(0, Binaryen.i32)),
module.local.set(0, makeInt32(101)),
- module.drop(module.local.tee(0, makeInt32(102))),
+ module.drop(module.local.tee(0, makeInt32(102), Binaryen.i32)),
module.i32.load(0, 0, makeInt32(1)),
module.i64.load16_s(2, 1, makeInt32(8)),
module.f32.load(0, 0, makeInt32(2)),
diff --git a/test/binaryen.js/kitchen-sink.js.txt b/test/binaryen.js/kitchen-sink.js.txt
index a740bd42c..74a11d48c 100644
--- a/test/binaryen.js/kitchen-sink.js.txt
+++ b/test/binaryen.js/kitchen-sink.js.txt
@@ -1581,7 +1581,7 @@ int main() {
expressions[736] = BinaryenConst(the_module, BinaryenLiteralInt32(101));
expressions[737] = BinaryenLocalSet(the_module, 0, expressions[736]);
expressions[738] = BinaryenConst(the_module, BinaryenLiteralInt32(102));
- expressions[739] = BinaryenLocalTee(the_module, 0, expressions[738]);
+ expressions[739] = BinaryenLocalTee(the_module, 0, expressions[738], 2);
expressions[740] = BinaryenDrop(the_module, expressions[739]);
expressions[741] = BinaryenConst(the_module, BinaryenLiteralInt32(1));
expressions[742] = BinaryenLoad(the_module, 4, 1, 0, 0, 2, expressions[741]);
@@ -10107,7 +10107,7 @@ module loaded from binary form:
)
)
-[wasm-validator error in function func] i32 != i64: local.set type must match function, on
+[wasm-validator error in function func] i64 != i32: local.set's value type must be correct, on
[none] (local.set $0
[i64] (i64.const 1234)
)