[JSC] AI should not propagate AbstractValue relying on constant folding phase
[WebKit-https.git] / JSTests / microbenchmarks / bound-function-construction-performance.js
1 //@ skip
2
3 function makeBoundFunc(f) {
4     return f.bind(f);
5 }
6 noInline(makeBoundFunc);
7
8 function foo() {
9     function f() { }
10     for (let i = 0; i < 400000; i++) {
11         makeBoundFunc(f); 
12     }
13 }
14 foo();