| Index: test/mjsunit/messages.js
|
| diff --git a/test/mjsunit/messages.js b/test/mjsunit/messages.js
|
| index c30e59f3e17a6a755531c43d192b00a82821a630..9b3ca18d7b1b82b308b10b570695bce7530ec673 100644
|
| --- a/test/mjsunit/messages.js
|
| +++ b/test/mjsunit/messages.js
|
| @@ -3,7 +3,7 @@
|
| // found in the LICENSE file.
|
|
|
| // Flags: --stack-size=100 --harmony --harmony-reflect --harmony-arrays
|
| -// Flags: --harmony-regexps --strong-mode
|
| +// Flags: --harmony-regexps --harmony-simd --strong-mode
|
|
|
| function test(f, expected, type) {
|
| try {
|
| @@ -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);
|
| +}, "Cannot convert a SIMD value to a number", TypeError);
|
| +
|
| // kUndefinedOrNullToObject
|
| test(function() {
|
| Array.prototype.toString.call(null);
|
|
|