Merge frontend tag v2.068.0

Kept idgen as C++ program for now. We'll tackle build system integration
once we actually switch to DDMD.
This commit is contained in:
David Nadlinger 2015-08-26 20:31:56 +02:00
parent 079d2a7ed5
commit 9fd1e8d2a6
79 changed files with 5107 additions and 3365 deletions

View file

@ -55,7 +55,7 @@ llvm::cl::opt<llvm::GlobalVariable::ThreadLocalMode> clThreadModel("fthread-mode
clEnumValEnd));
#endif
Expression *getTypeInfo(Type *t, Scope *sc);
Type *getTypeInfoType(Type *t, Scope *sc);
/****************************************************************************************/
/*////////////////////////////////////////////////////////////////////////////////////////
@ -1244,7 +1244,7 @@ LLConstant* DtoTypeInfoOf(Type* type, bool base)
LOG_SCOPE
type = type->merge2(); // needed.. getTypeInfo does the same
getTypeInfo(type, NULL);
getTypeInfoType(type, NULL);
TypeInfoDeclaration* tidecl = type->vtinfo;
assert(tidecl);
Declaration_codegen(tidecl);