michael@0: // Binary: cache/js-dbg-64-21b4797e4cb3-linux michael@0: // Flags: -m -a --ion-eager michael@0: // michael@0: k = m michael@0: function h() { michael@0: switch (true) { michael@0: default: michael@0: x = newGlobal('') michael@0: } michael@0: return function(f, code) { michael@0: try { michael@0: evalcx(code, x) michael@0: } catch (e) {} michael@0: } michael@0: } michael@0: function m() { michael@0: f() michael@0: } michael@0: function g(code) { michael@0: f = new Function(code); michael@0: k(f, code) michael@0: } michael@0: g("k=h()") michael@0: g("\ michael@0: a='';\ michael@0: Object.defineProperty(this,\"b\",{get:function(){a=this.d()}});\ michael@0: Object.defineProperty(this,\"c\",{get:function(){b}});\ michael@0: d=2;\ michael@0: b\ michael@0: "); michael@0: g("b"); michael@0: g("b"); michael@0: g("for(v of c);"); michael@0: g("a=eval(\"function f(){}\");b")