Mercurial > projects > ldc
view ir/irfunction.cpp @ 183:3cdf4b0c75a1 trunk
[svn r199] Fixed: still some small issues with string literals implicitly converting to different pointer types. Should be fixed now!
author | lindquist |
---|---|
date | Wed, 07 May 2008 20:22:42 +0200 |
parents | 8f704cb9969b |
children | e881c9b1c738 |
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; } IrFunction::~IrFunction() { }