]> git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/dead-fiat-value-to-int52.js
0e54daacd25ed3aef963bd0d1a0918c992adbb46
[apple/javascriptcore.git] / tests / stress / dead-fiat-value-to-int52.js
1 function foo() {
2 var value = bar(DFGTrue());
3 fiatInt52(value);
4 fiatInt52(value);
5 }
6
7 function bar(p) {
8 return p ? 42 : 5.5;
9 }
10
11 noInline(foo);
12 noInline(bar);
13
14 for (var i = 0; i < 1000000; ++i)
15 foo();
16