js/src/jit-test/tests/auto-regress/bug737737.js

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 // Binary: cache/js-dbg-32-e96d5b1f47b8-linux
michael@0 2 // Flags: --ion-eager
michael@0 3 //
michael@0 4 function b(z) {
michael@0 5 switch (z) {
michael@0 6 default:
michael@0 7 primarySandbox = newGlobal()
michael@0 8 }
michael@0 9 return function(f, code) {
michael@0 10 try {
michael@0 11 evalcx(code, primarySandbox)
michael@0 12 } catch (e) {}
michael@0 13 }
michael@0 14 }
michael@0 15 function a(code) {
michael@0 16 gc();
michael@0 17 f = Function(code)
michael@0 18 c(f, code)
michael@0 19 }
michael@0 20 c = b()
michael@0 21 a("\
michael@0 22 f2 = (function() {\
michael@0 23 a0 + o2.m;\
michael@0 24 a2.shift()\
michael@0 25 });\
michael@0 26 a2 = new Array;\
michael@0 27 Object.defineProperty(a2, 0, {\
michael@0 28 get: f2\
michael@0 29 });\
michael@0 30 o2 = {};\
michael@0 31 a0 = [];\
michael@0 32 a2.shift();\
michael@0 33 var x;\
michael@0 34 ")
michael@0 35 a("a0 = x")
michael@0 36 a("a2.shift()")

mercurial