Mercurial > projects > ldc
view gen/passes/Passes.h @ 1471:230765fc82f4
Emit nicer error messages when the user didn't set LLVM_REV and autodetection
didn't find a suitable revision or when the LLVM revision in use is too old.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Wed, 03 Jun 2009 16:09:48 +0200 |
parents | e109e4031e8a |
children | defafbabbe32 |
line wrap: on
line source
#ifndef LDC_PASSES_H #define LDC_PASSES_H #include "gen/metadata.h" namespace llvm { class FunctionPass; class ModulePass; } // Performs simplifications on runtime calls. llvm::FunctionPass* createSimplifyDRuntimeCalls(); #ifdef USE_METADATA llvm::FunctionPass* createGarbageCollect2Stack(); llvm::ModulePass *createStripMetaData(); #endif #endif