Mercurial > projects > ldc
view ir/irfunction.cpp @ 143:336ec4f4bbb3 trunk
[svn r147] tango.io.Console is now working. True this time :) Yay!
author | lindquist |
---|---|
date | Fri, 25 Jan 2008 01:42:36 +0100 |
parents | 0e28624814e8 |
children | 8f704cb9969b |
line wrap: on
line source
#include "gen/tollvm.h" #include "ir/irfunction.h" IrFinally::IrFinally() { bb = 0; retbb = 0; } IrFinally::IrFinally(llvm::BasicBlock* b, llvm::BasicBlock* rb) { bb = b; retbb = rb; } ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// IrFunction::IrFunction(FuncDeclaration* fd) { decl = fd; Type* t = DtoDType(fd->type); assert(t->ty == Tfunction); type = (TypeFunction*)t; func = NULL; allocapoint = NULL; finallyretval = NULL; queued = false; defined = false; retArg = NULL; thisVar = NULL; nestedVar = NULL; _arguments = NULL; _argptr = NULL; dwarfSubProg = NULL; } IrFunction::~IrFunction() { }