1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/ion/bug837312.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,7 @@ 1.4 +function bind(f) { 1.5 + return f.call.apply(f.bind, arguments); 1.6 +} 1.7 +function g(a, b) {} 1.8 +for(var i=0; i<20; ++i) { 1.9 + g.call(undefined, {}, bind(function(){})); 1.10 +}