summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1016016.js
blob: 441794c6acf3165591b25b728f36ad6fa501cd7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// |jit-test| error:ReferenceError
toPrinted(this.reason);
function toPrinted(value)
  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 }); 
}