summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1077427.js
blob: 27b0306f85b8a9ddd79eb686c6640f09c835d244 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

(function f() {
  var i;
  var x = 3;
  var o1 = { a: x };
  var o2 = { a: 2 };
  for (i = 0; i < 5; i++)
    o2.a = x;
  Object.preventExtensions({ a: 1 });
  for (i = 0; i < 5; i++)
    ;
})();