Introducing opaque type to dmd frontent to be used with certain runtime array

and aa args and returns. There are still some bugs with aas.
This commit is contained in:
Christian Kamm
2008-07-22 23:06:46 +02:00
parent 566eac93fe
commit 8f20b1ed00
8 changed files with 60 additions and 195 deletions

View File

@@ -392,8 +392,9 @@ void DtoDeclareFunction(FuncDeclaration* fdecl)
Logger::println("current module: %s", gIR->dmodule->ident->toChars());
if(fdecl->getModule())
Logger::println("func module: %s", fdecl->getModule()->ident->toChars());
else
Logger::println("func not in a module, probably runtime");
else {
Logger::println("func not in a module, is runtime");
}
declareOnly = true;
}
else if (fdecl->llvmInternal == LLVMva_start)