Commit 582a9c3
committed
[MERGE chakra-core#2307 @rajatd] Recover perf regression related to stack args
Merge pull request chakra-core#2307 from rajatd:fixBox2dRegression
A perf regression had crept in with a refactor I did a while ago.
We dont have block-level merging of arguments object syms in the globopt. So, as much as possible, we try to keep the set of arguments object syms same across blocks. To this end, we ignore tracking the arguments object alias introduced by ByteCodeArgoutCapture. To do this, the globopt expects the argout instructions to be immediately preceding the InlineBuiltInStart instr for .apply.
The refactor I did had broken this assumption. Reverting to that.1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2442 | 2442 | | |
2443 | 2443 | | |
2444 | 2444 | | |
| 2445 | + | |
| 2446 | + | |
| 2447 | + | |
| 2448 | + | |
| 2449 | + | |
| 2450 | + | |
| 2451 | + | |
| 2452 | + | |
2445 | 2453 | | |
2446 | 2454 | | |
2447 | 2455 | | |
| |||
0 commit comments