Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
2 /* Recompilation while being processed by a call IC. */
4 var g;
5 function foo() {
6 for (g = 0; g < 5; g++) {
7 bar();
8 }
9 function bar() {
10 with ({}) {
11 eval("g = undefined;");
12 }
13 }
14 }
15 foo();
17 assertEq(g, NaN);
19 /* Recompilation while being processed by a native call IC. */
21 function native() {
22 var x;
23 x = x;
24 x = Math.ceil(NaN);
25 assertEq(x, NaN);
26 }
27 native();