Mercurial > projects > ldc
view ir/irforw.h @ 806:96b404ba7eb0
Move storage of final vtbl from BaseClass to IrInterface: BaseClass instances are shared!
Always use the target's irstruct interfaceMap when building the const initializer.
Tango helloworld works again.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 30 Nov 2008 11:25:40 +0100 |
parents | eef8ac26c66c |
children |
line wrap: on
line source
#ifndef LDC_IR_IRFORW_H #define LDC_IR_IRFORW_H // dmd forward declarations struct Module; struct Dsymbol; struct Declaration; struct VarDeclaration; struct FuncDeclaration; struct AggregateDeclaration; struct StructDeclaration; struct ClassDeclaration; struct InterfaceDeclaration; struct Expression; struct BaseClass; struct Array; struct Argument; struct Type; struct TypeStruct; struct TypeClass; struct TypeEnum; struct TypeArray; struct TypeFunction; // llvm forward declarations namespace llvm { class Value; class GlobalValue; class GlobalVariable; class Function; class Constant; class ConstantStruct; class ConstantArray; class TargetData; class Type; class StructType; class ArrayType; class PointerType; class BasicBlock; class Instruction; } #endif