]> git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/new-function-expression-has-structures.js
JavaScriptCore-7600.1.4.16.1.tar.gz
[apple/javascriptcore.git] / tests / stress / new-function-expression-has-structures.js
1 function foo() {
2 var f = function() { return 42 };
3 f.prototype.f = function() { return 43; };
4 return f.prototype.f;
5 }
6
7 noInline(foo);
8
9 for (var i = 0; i < 10000; ++i)
10 foo();
11