]>
Commit | Line | Data |
---|---|---|
81345200 A |
1 | //@ defaultNoEagerRun |
2 | ||
3 | function foo(a) { | |
4 | a[0] = 1; | |
5 | a[1] = 2; | |
6 | a[2] = 3; | |
7 | } | |
8 | ||
9 | noInline(foo); | |
10 | ||
11 | var array = new Int8Array(1); | |
12 | ||
13 | for (var i = 0; i < 100000; ++i) | |
14 | foo(array); | |
15 | ||
16 | if (reoptimizationRetryCount(foo)) | |
17 | throw "Error: unexpected retry count: " + reoptimizationRetryCount(foo); |