1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/jaeger/recompile/bug658211.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,13 @@ 1.4 +function foo(x) { 1.5 + return bar(x); 1.6 +} 1.7 +function bar(x) { 1.8 + return x.f + 10; 1.9 +} 1.10 +var g = Object(); 1.11 +g.f = 10; 1.12 +assertEq(foo(g), 20); 1.13 +assertEq(foo(g), 20); 1.14 +assertEq(foo(g), 20); 1.15 +eval("g.f = 'three'"); 1.16 +assertEq(foo(g), 'three10');