Index: test/mjsunit/object-toprimitive.js |
diff --git a/test/mjsunit/object-toprimitive.js b/test/mjsunit/object-toprimitive.js |
index 34803ec93482668a13b3ec27303054505110ab93..cd0656c5c9d9185b9177f9c6896704ff6456f40e 100644 |
--- a/test/mjsunit/object-toprimitive.js |
+++ b/test/mjsunit/object-toprimitive.js |
@@ -25,6 +25,8 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
+// Flags: --harmony-simd |
+ |
// Test the ToPrimitive internal function used by ToNumber/ToString. |
// Does it [[Get]] and [[Call]] the object's toString and valueOf properties |
// correctly. Specifically, does it call [[Get]] only once per property. |
@@ -104,3 +106,5 @@ assertEquals(87, nt); |
assertEquals(["gvo", "gts", "ts"], trace); |
assertThrows('Number(Symbol())', TypeError); |
+ |
+assertThrows('Number(SIMD.float32x4(1, 2, 3, 4))', TypeError); |
bbudge
2015/07/13 23:10:39
I'll just delete this test - it's covered by TestT
|