[JSC] AI should not propagate AbstractValue relying on constant folding phase
[WebKit-https.git] / JSTests / microbenchmarks / sin-boolean.js
1 (function(True) {
2     var x = 0;
3     var n = 1000000
4     for (var i = 0; i < n; ++i)
5         x = Math.sin(True);
6     if (x != Math.sin(1))
7         throw "Error: bad result: " + x;
8 })(true);