mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-10-17 00:07:25 +02:00
[svn r76] Fixed: TypeInfo for structs.
Fixed: PostExp was unable to allocate storage for parameters. Fixed: Many types of functions and delegates were broken. Misc cleanups.
This commit is contained in:
+3
-3
@@ -296,7 +296,8 @@ void StructDeclaration::toObjFile()
|
||||
gIR->structs.pop_back();
|
||||
|
||||
// generate typeinfo
|
||||
//type->getTypeInfo(NULL);
|
||||
if (getModule() == gIR->dmodule)
|
||||
type->getTypeInfo(NULL);
|
||||
}
|
||||
|
||||
/* ================================================================== */
|
||||
@@ -624,8 +625,7 @@ void TypedefDeclaration::toObjFile()
|
||||
LOG_SCOPE;
|
||||
|
||||
// generate typeinfo
|
||||
if (!type->builtinTypeInfo())
|
||||
type->getTypeInfo(NULL);
|
||||
type->getTypeInfo(NULL);
|
||||
}
|
||||
|
||||
/* ================================================================== */
|
||||
|
||||
Reference in New Issue
Block a user