summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/SIMD/bug1123631.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/SIMD/bug1123631.js')
-rw-r--r--js/src/jit-test/tests/SIMD/bug1123631.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/SIMD/bug1123631.js b/js/src/jit-test/tests/SIMD/bug1123631.js
new file mode 100644
index 000000000..28c0e0aa1
--- /dev/null
+++ b/js/src/jit-test/tests/SIMD/bug1123631.js
@@ -0,0 +1,9 @@
+if (!this.hasOwnProperty("SIMD"))
+ quit();
+
+var Float64x2 = SIMD.Float64x2;
+function test() {
+ var a = Float64x2(1, 2);
+}
+test();
+test();