Repository navigation
Commit 8e8cccb
committed
[JSC] PutStackSinking should run only when ArgumentsElimination did some job
https://bugs.webkit.org/show_bug.cgi?id=328249
rdar://190551802
Reviewed by Keith Miller.
PutStackSinking is running twice just to catch ArgumentsElimination's
new PutStacks. First one makes ArgumentsElimination encouraged, and
ArgumentsElimination generates PutStacks and then next PutStackSinking
does further sinking. But the second run is meaningless if
ArgumentsElimination did nothing. This patch skips the second
PutStackSinking when ArgumentsElimination didn't change anything.
* Source/JavaScriptCore/dfg/DFGPlan.cpp:
(JSC::DFG::Plan::compileInThreadImpl):
Canonical link: https://commits.webkit.org/324298@main1 parent d68d875 commit 8e8cccb
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
| 382 | + | |
382 | 383 | | |
383 | | - | |
384 | | - | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
385 | 389 | | |
386 | 390 | | |
387 | 391 | | |
| |||
0 commit comments