1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/self-hosting/invoke-self-hosted-function.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,9 @@ 1.4 +var callees = [function a() {}, function b() {}, function c() {}, function d() {}, Array.prototype.forEach]; 1.5 + 1.6 +function f() { 1.7 + for (var i = 0; i < callees.length; ++i) { 1.8 + callees[i](function(){}); 1.9 + } 1.10 +} 1.11 + 1.12 +f(); 1.13 \ No newline at end of file