-
Notifications
You must be signed in to change notification settings - Fork 528
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
S_optimize_op(): remove anti-recursion deferring
S_optimize_op() used to recursively work its way down an optree marking ops as being in the appropriate context. This commit removes the deferred mechanism, and instead makes use of the newish OP_PARENT mechanism to iterate over the optree, following each kid, then back up via the parent pointer to the next sibling etc.
- Loading branch information
Showing
1 changed file
with
36 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters