view gen/runtime.h @ 1276:fa20726fe074

Update codegen to (hopefully) work correctly with newer LLVM trunk, where there's no longer a Fast flag. (It has been replaced by an optimization level) Untested because I haven't compiled that recent an LLVM yet :).
author Frits van Bommel <fvbommel wxs.nl>
date Wed, 29 Apr 2009 10:26:28 +0200
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);