comparison gen/functions.cpp @ 379:d632801b15f0

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.
author Christian Kamm <kamm incasoftware de>
date Tue, 22 Jul 2008 23:06:46 +0200
parents d8234836b40f
children 0e6b4d65d3f8
comparison
equal deleted inserted replaced
378:d8234836b40f 379:d632801b15f0
390 { 390 {
391 Logger::println("not template instance, and not in this module. declare only!"); 391 Logger::println("not template instance, and not in this module. declare only!");
392 Logger::println("current module: %s", gIR->dmodule->ident->toChars()); 392 Logger::println("current module: %s", gIR->dmodule->ident->toChars());
393 if(fdecl->getModule()) 393 if(fdecl->getModule())
394 Logger::println("func module: %s", fdecl->getModule()->ident->toChars()); 394 Logger::println("func module: %s", fdecl->getModule()->ident->toChars());
395 else 395 else {
396 Logger::println("func not in a module, probably runtime"); 396 Logger::println("func not in a module, is runtime");
397 }
397 declareOnly = true; 398 declareOnly = true;
398 } 399 }
399 else if (fdecl->llvmInternal == LLVMva_start) 400 else if (fdecl->llvmInternal == LLVMva_start)
400 declareOnly = true; 401 declareOnly = true;
401 402