[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:
Tomas Lindquist Olsen
2007-10-29 03:28:12 +01:00
parent 848ecbed0d
commit 4230f2ef11
12 changed files with 367 additions and 204 deletions
+3 -3
View File
@@ -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);
}
/* ================================================================== */