add a flag

llvm-svn: 24375
This commit is contained in:
Chris Lattner 2005-11-16 07:21:15 +00:00
parent 5853bd7984
commit efa81a081f

View File

@ -40,9 +40,14 @@ namespace llvm {
class Module;
class IntrinsicLowering {
protected:
bool ShouldEmitDebugFunctions;
public:
IntrinsicLowering() : ShouldEmitDebugFunctions(false) {}
virtual ~IntrinsicLowering() {}
bool EmitDebugFunctions() const { return ShouldEmitDebugFunctions; }
/// AddPrototypes - This method, if called, causes all of the prototypes
/// that might be needed by an intrinsic lowering implementation to be
/// inserted into the module specified.