Title: [209853] trunk/JSTests
- Revision
- 209853
- Author
- [email protected]
- Date
- 2016-12-14 20:45:24 -0800 (Wed, 14 Dec 2016)
Log Message
Unreviewed, fix test.
* wasm/function-tests/i32-const.js:
Modified Paths
Diff
Modified: trunk/JSTests/ChangeLog (209852 => 209853)
--- trunk/JSTests/ChangeLog 2016-12-15 04:36:08 UTC (rev 209852)
+++ trunk/JSTests/ChangeLog 2016-12-15 04:45:24 UTC (rev 209853)
@@ -1,5 +1,11 @@
2016-12-14 Keith Miller <[email protected]>
+ Unreviewed, fix test.
+
+ * wasm/function-tests/i32-const.js:
+
+2016-12-14 Keith Miller <[email protected]>
+
Wasm should decode constants correctly
https://bugs.webkit.org/show_bug.cgi?id=165886
Modified: trunk/JSTests/wasm/function-tests/i32-const.js (209852 => 209853)
--- trunk/JSTests/wasm/function-tests/i32-const.js 2016-12-15 04:36:08 UTC (rev 209852)
+++ trunk/JSTests/wasm/function-tests/i32-const.js 2016-12-15 04:45:24 UTC (rev 209853)
@@ -8,6 +8,7 @@
.Export()
.Function("answer")
.Function("minInt")
+ .Function("maxInt")
.End()
.Code()
.Function("answer", { params: [], ret: "i32" })
@@ -18,7 +19,7 @@
.I32Const(-1)
.End()
- .Function("minInt", { params: [], ret: "i32" })
+ .Function("maxInt", { params: [], ret: "i32" })
.I32Const(0xffffffff)
.End()
.End();
@@ -28,4 +29,4 @@
const instance = new WebAssembly.Instance(module);
assert.eq(instance.exports.answer(), 42);
assert.eq(instance.exports.minInt(), -1);
-assert.eq(instance.exports.minInt(), -1);
+assert.eq(instance.exports.maxInt(), -1);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes