[JSC] AI should not propagate AbstractValue relying on constant folding phase
[WebKit-https.git] / JSTests / stress / OverrideHasInstance-should-not-branch-across-register-allocations.js
1 //@ runDefault
2
3 // This test should not crash.
4
5 delete this.Function;
6
7 var test = function() { 
8     Math.cos("0" instanceof arguments)
9 }
10
11 for (var k = 0; k < 10000; ++k) {
12     try {
13         test();
14     } catch (e) {
15     }
16 }