view gen/passes/Passes.h @ 1390:c5a92bee639d

Don't try to strip metadata if we don't generate any
author Frits van Bommel <fvbommel wxs.nl>
date Sun, 17 May 2009 22:40:02 +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