Mercurial > projects > ldc
view ir/irfunction.cpp @ 243:4d006f7b2ada trunk
[svn r260] Changed some of the LLVMDC specific code in the Tango core and did some minor cleanups.
author | lindquist |
---|---|
date | Mon, 09 Jun 2008 03:02:14 +0200 |
parents | e0b6040585b4 |
children | d59c363fccad |
line wrap: on
line source
#include "gen/tollvm.h" #include "ir/irfunction.h" ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// IrFunction::IrFunction(FuncDeclaration* fd) { decl = fd; Type* t = DtoDType(fd->type); assert(t->ty == Tfunction); type = (TypeFunction*)t; func = NULL; allocapoint = NULL; queued = false; defined = false; retArg = NULL; thisVar = NULL; nestedVar = NULL; _arguments = NULL; _argptr = NULL; dwarfSubProg = NULL; srcfileArg = NULL; msgArg = NULL; inVolatile = false; } IrFunction::~IrFunction() { }