Refactoring-only part of DtoConstExpInit fix.

This commit is contained in:
David Nadlinger 2013-06-02 20:08:09 +02:00
parent d9ce9ce67b
commit ae48a19251
2 changed files with 17 additions and 22 deletions

View file

@ -115,7 +115,7 @@ LLValue* DtoRawVarDeclaration(VarDeclaration* var, LLValue* addr = 0);
// initializer helpers
LLConstant* DtoConstInitializer(Loc loc, Type* type, Initializer* init);
LLConstant* DtoConstExpInit(Loc loc, Type* t, Expression* exp);
LLConstant* DtoConstExpInit(Loc loc, Type* targetType, Expression* exp);
// getting typeinfo of type, base=true casts to object.TypeInfo
LLConstant* DtoTypeInfoOf(Type* ty, bool base=true);