Debian Codegraph @

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

raw
1 // Binary: cache/js-dbg-32-c5b90ea7e475-linux
2 // Flags: -m -n -a
3 //
4 load(libdir + "immutable-prototype.js");
5
6 var save__proto__ = __proto__;
7 if (globalPrototypeChainIsMutable())
8 __proto__ = save__proto__;
9
10 function bar(x, y) {
11 return x + y;
12 }
13 function foo(x, y) {
14 var a = 0;
15 for (var i = 0; i < 1000; i++) {
16 a += (this.toString);
17 a += bar(x, y);
18 a = bar(x, (a));
19 a += bar(x, y);
20 }
21 return a;
22 }
23 var q = foo(0, 1);
24 print(q.toString());