summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug716895.js
blob: 1ea31d759b7f34fb3f57a7cc3f48c13665d9184d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Don't segfault. Reduced from V8 deltablue.

function output(c, dir) {
  return (dir) ? c.v1 : c.v1;
}

var constraint = {
  v1 : {}
}

for (i=0; i<100; i++){
  output(constraint, 0)
  output(constraint, 1);
}