Index: test/mjsunit/double-equals.js |
diff --git a/test/mjsunit/double-equals.js b/test/mjsunit/double-equals.js |
index 5f8bea380e3ec07dc426f248f7f1024b1d35c520..40d9a76b48ca4c0701418b03cc986f2d8dacf3ec 100644 |
--- a/test/mjsunit/double-equals.js |
+++ b/test/mjsunit/double-equals.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 |
+ |
/** |
* This test uses assert{True,False}(... == ...) instead of |
* assertEquals(..., ...) to not rely on the details of the |
@@ -240,3 +242,9 @@ |
testEqual(Object(s), s); |
testEqual(new Wrapper(s), s); |
testNotEqual(Object(s), Object(s)); |
+ |
+var simd = SIMD.Float32x4(1, 2, 3, 4); |
+testEqual(simd, simd); |
+testEqual(Object(simd), simd); |
+testEqual(new Wrapper(simd), simd); |
+testNotEqual(Object(simd), Object(simd)); |