diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-06-25 20:18:14 +0000 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-06-25 20:18:14 +0000 |
commit | 083d840f32e6cee08c709408160dcbc802b600fc (patch) | |
tree | 4f77e7a71fff3b2999de947b0851c9601a428742 /js/src/jit-test/tests/ion/unboxed-objects-invalidate.js | |
parent | 1cf7e63d993b0f41aecc3af7e0cd759c8b067df4 (diff) | |
download | UXP-083d840f32e6cee08c709408160dcbc802b600fc.tar UXP-083d840f32e6cee08c709408160dcbc802b600fc.tar.gz UXP-083d840f32e6cee08c709408160dcbc802b600fc.tar.lz UXP-083d840f32e6cee08c709408160dcbc802b600fc.tar.xz UXP-083d840f32e6cee08c709408160dcbc802b600fc.zip |
Remove unboxed object tests.
Diffstat (limited to 'js/src/jit-test/tests/ion/unboxed-objects-invalidate.js')
-rw-r--r-- | js/src/jit-test/tests/ion/unboxed-objects-invalidate.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/js/src/jit-test/tests/ion/unboxed-objects-invalidate.js b/js/src/jit-test/tests/ion/unboxed-objects-invalidate.js deleted file mode 100644 index 02e27614f..000000000 --- a/js/src/jit-test/tests/ion/unboxed-objects-invalidate.js +++ /dev/null @@ -1,16 +0,0 @@ - -var a = []; -for (var i = 0; i < 2000; i++) - a.push({f:i}); - -function f() { - var total = 0; - for (var i = 0; i < a.length; i++) - total += a[i].f; - return total; -} -assertEq(f(), 1999000); - -var sub = Object.create(a[0]); - -assertEq(f(), 1999000); |