Mercurial > projects > ddmd
comparison dmd/Optimize.d @ 137:09c858522d55
merge
author | Trass3r |
---|---|
date | Mon, 13 Sep 2010 23:29:00 +0200 |
parents | 9d194c848e3a af1bebfd96a4 |
children |
comparison
equal
deleted
inserted
replaced
136:9d194c848e3a | 137:09c858522d55 |
---|---|
22 | 22 |
23 Expression e = null; | 23 Expression e = null; |
24 if (!v) | 24 if (!v) |
25 return e; | 25 return e; |
26 | 26 |
27 if (v.isConst() || v.isInvariant() || v.storage_class & STC.STCmanifest) | 27 if (v.isConst() || v.isImmutable() || v.storage_class & STC.STCmanifest) |
28 { | 28 { |
29 if (!v.type) | 29 if (!v.type) |
30 { | 30 { |
31 //error("ICE"); | 31 //error("ICE"); |
32 return e; | 32 return e; |