mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-09 00:13:14 +01:00
Added a stripModifiers() function to remove shared|const|immutable storage classes in D2 (should eventually be moved to a dhelpers file rather than llvm helpers).
Replaced a few occurances of STCinvariant with STCimmutable.
This commit is contained in:
@@ -54,9 +54,7 @@ unsigned DtoShouldExtend(Type* type)
|
||||
|
||||
const LLType* DtoType(Type* t)
|
||||
{
|
||||
#if DMDV2
|
||||
t = t->mutableOf();
|
||||
#endif
|
||||
t = stripModifiers( t );
|
||||
|
||||
if (t->irtype)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user