]> git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/dead-fiat-value-to-int52.js
JavaScriptCore-7601.1.46.3.tar.gz
[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