| // The main purpose of this test is to ensure that |
| // we will re-use no longer in use CallSiteIndices for |
| // inline cache stubs. See relevant code in destructor |
| // DFG::CommonData::removeCallSiteIndex(.) |
| // CodeBlock::removeExceptionHandlerForCallSite(.) |
| // Which add old call site indices to a free list. |
| throw new Error("bad value"); |
| for (var i = 0; i < 10000; i++) |
| function hello() { return 20; } |
| assert(v === 2); // Really flagCount. |
| var fakeOut = {x: 30, f: 100}; |
| for (let i = 0; i < 1000; i++) |
| foo(i % 2 ? objChain : fakeOut); |
| throw new Error("I'm testing you."); |
| for (i = 0; i < 100; i++) { |
| fakeOut = {x: 30, get f() { return 100}}; |
| for (i = 0; i < 100; i++) { |
| for (i = 0; i < 100; i++) |