diff options
Diffstat (limited to 'js/src/jit-test/tests/ion/bug729899-2.js')
-rw-r--r-- | js/src/jit-test/tests/ion/bug729899-2.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/bug729899-2.js b/js/src/jit-test/tests/ion/bug729899-2.js new file mode 100644 index 000000000..f23c868d8 --- /dev/null +++ b/js/src/jit-test/tests/ion/bug729899-2.js @@ -0,0 +1,9 @@ +load(libdir + "immutable-prototype.js"); + +function f2() { + if (globalPrototypeChainIsMutable()) + __proto__ = null; +} + +for (var j = 0; j < 50; j++) + f2(); |