Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1172)

Unified Diff: test/mjsunit/messages.js

Issue 1219943002: Expose SIMD.Float32x4 type to Javascript. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/mjsunit/messages.js
diff --git a/test/mjsunit/messages.js b/test/mjsunit/messages.js
index 8dce6f0ab332cda1e0c3b895ed5f4b5a1f382193..7962b9e0b56557729bd40302131da02b8ae0c7be 100644
--- a/test/mjsunit/messages.js
+++ b/test/mjsunit/messages.js
@@ -323,6 +323,11 @@ test(function() {
1 + Symbol();
}, "Cannot convert a Symbol value to a number", TypeError);
+// kSimdToNumber
+test(function() {
+ 1 + SIMD.Float32x4(1, 2, 3, 4);
rossberg 2015/07/02 13:35:44 Typo: SIMD.float32x4 (you got a TypeError for the
bbudge 2015/07/06 23:59:05 Done.
+}, "Cannot convert a Simd value to a number", TypeError);
+
// kUndefinedOrNullToObject
test(function() {
Array.prototype.toString.call(null);

Powered by Google App Engine
This is Rietveld 408576698