Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[imcc] Fixed last remaining -O2 issue #1044 t/pmc/exception-old_19.pir
Stop constant propagation at yield or invokecc for possible push_eh/pop_eh non-local effects. This can undo the set of the constant value. See t/pmc/exception-old_19.pir: cont = test() contains a push_eh, and the subsequent pop_eh at cont() changes the value of the constant redux from 0 back to 1. So constant propagation for redux=0 cannot delete "if redux goto done" and the done branch.
- Loading branch information
Reini Urban
committed
Feb 28, 2014
1 parent
f495335
commit cf85d51
Showing
3 changed files
with
43 additions
and
29 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
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
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