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

Unified Diff: test/mjsunit/double-equals.js

Issue 2695653005: Revert of Remove SIMD.js from V8. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « test/cctest/test-simd.cc ('k') | test/mjsunit/harmony/simd.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
« no previous file with comments | « test/cctest/test-simd.cc ('k') | test/mjsunit/harmony/simd.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698