comparison: js/src/jit-test/tests/ion/bug995673.js
js/src/jit-test/tests/ion/bug995673.js
- changeset 0
- 6474c204b198
equal
deleted
inserted
replaced
|
1 var total = 0 |
|
2 |
|
3 x = [ [] ] |
|
4 x[0].valueOf = function () { |
|
5 total++; |
|
6 } |
|
7 function f(y) { |
|
8 y != Math.abs() |
|
9 } |
|
10 (function() { |
|
11 f() |
|
12 f(x[0]) |
|
13 f(x[0]) |
|
14 })() |
|
15 |
|
16 assertEq(total, 2) |