summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug672104.js
blob: 1150ee42bd1eeb98c4000b6f14a269b337da95a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Binary: cache/js-dbg-64-a37127f33d22-linux
// Flags: -m -n
//
load(libdir + "immutable-prototype.js");

a = {};
b = __proto__;
for (i = 0; i < 9; i++) {
    if (globalPrototypeChainIsMutable()) {
        __proto__ = a;
        a.__proto__ = b
    }
}