view gen/runtime.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 0c77619e803b
children
line wrap: on
line source

// D runtime support helpers

bool LLVM_D_InitRuntime();
void LLVM_D_FreeRuntime();

llvm::Function* LLVM_D_GetRuntimeFunction(llvm::Module* target, const char* name);

llvm::GlobalVariable* LLVM_D_GetRuntimeGlobal(llvm::Module* target, const char* name);