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

Unified Diff: test/mjsunit/object-toprimitive.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/object-toprimitive.js
diff --git a/test/mjsunit/object-toprimitive.js b/test/mjsunit/object-toprimitive.js
index 34803ec93482668a13b3ec27303054505110ab93..ec7b520468f05e19e2bd9186cf38236e5b772f33 100644
--- a/test/mjsunit/object-toprimitive.js
+++ b/test/mjsunit/object-toprimitive.js
@@ -104,3 +104,5 @@ assertEquals(87, nt);
assertEquals(["gvo", "gts", "ts"], trace);
assertThrows('Number(Symbol())', TypeError);
+
+assertThrows('Number(SIMD.float32x4(1, 2, 3, 4))', TypeError);

Powered by Google App Engine
This is Rietveld 408576698