]> git.saurik.com Git - apple/javascriptcore.git/blame - 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
CommitLineData
81345200
A
1function foo() {
2 var value = bar(DFGTrue());
3 fiatInt52(value);
4 fiatInt52(value);
5}
6
7function bar(p) {
8 return p ? 42 : 5.5;
9}
10
11noInline(foo);
12noInline(bar);
13
14for (var i = 0; i < 1000000; ++i)
15 foo();
16