summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1016016.js
blob: 7fb6e64d12c5a994f6b1aa19a89ecad19e9a3972 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// |jit-test| error:ReferenceError
toPrinted(this.reason);
function toPrinted(value) {
  return value = String(value);
}
var lfcode = new Array();
lfcode.push = loadFile;
lfcode.push("enableTrackAllocations();");
lfcode.push("\
gczeal(9, 2);\
newGlobal();\
''.addDebuggee(g1);\
");
function loadFile(lfVarx) {
  evaluate(lfVarx, { noScriptRval : true, isRunOnce : true }); 
}