]> git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/dead-fiat-double-to-int52-then-exit-not-int52.js
JavaScriptCore-7601.1.46.3.tar.gz
[apple/javascriptcore.git] / tests / stress / dead-fiat-double-to-int52-then-exit-not-int52.js
1 var array = new Float64Array(1);
2 array[0] = 42;
3
4 function foo() {
5 fiatInt52(array[0]);
6 fiatInt52(array[0]);
7 }
8
9 noInline(foo);
10
11 for (var i = 0; i < 1000000; ++i)
12 foo();
13
14 array[0] = 5.5;
15 foo();