summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testMethodWriteBarrier.js
blob: 86f2b17226bac10f54d1d6a49a1d811d76c48f0c (plain)
1
2
3
4
var x = {p: 0.1, m: function(){}};
x.m();  // the interpreter brands x
for (var i = 0; i < 9; i++)
    x.p = 0.1;