1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/ion/bug770762.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,18 @@ 1.4 +function first(a) { 1.5 + return a[0]; 1.6 +} 1.7 +function g() { 1.8 + first([function() {}])(); 1.9 +} 1.10 +first([function() {}]); 1.11 +first([function() {}]); 1.12 +first([function() {}]); 1.13 +first([function() {}]); 1.14 +first([function() {}]); 1.15 +first([function() {}]); 1.16 +first([function() {}]); 1.17 +first([function() {}]); 1.18 +first([function() {}]); 1.19 +first([function() {}]); 1.20 +g(); 1.21 +g();