summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug906035.js
blob: 09d0af7d6169a100296c5353a6aa188632c9d0e7 (plain)
1
2
3
4
5
6
7
8
9
// |jit-test| --ion-eager
function y() { return "foo,bar"; }
function x() {
  var z = y().split(',');
  for (var i = 0; i < z.length; i++) {}
}
gczeal(2);
Object.prototype.length = function () {};
x();