mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-07 11:26:02 +03:00
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:
parent
079d2a7ed5
commit
9fd1e8d2a6
79 changed files with 5107 additions and 3365 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue