-
-
Notifications
You must be signed in to change notification settings - Fork 609
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
5865 __dollar cannot be read at compile time
Now that $ is constant-folded correctly during the optimize step, the limited constant-folding in dsymbol can be removed. It had the effect of creating __dollar=0 in zombie cases where constant folding wasn't quite possible. A big mess. Here's a very simple new scheme: __dollar is still initialized for tuples, but for arrays, it is ALWAYS void-initialized. Later, it might be turned into an integer in the optimize step; otherwise, it becomes a runtime value.
- Loading branch information
Don Clugston
committed
Apr 20, 2011
1 parent
6d1a0ff
commit 03e022f
Showing
3 changed files
with
15 additions
and
28 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