[llvm-commits] CVS: llvm/include/llvm/CodeGen/IntrinsicLowering.h

Chris Lattner lattner at cs.uiuc.edu
Tue Nov 15 23:21:26 PST 2005



Changes in directory llvm/include/llvm/CodeGen:

IntrinsicLowering.h updated: 1.8 -> 1.9
---
Log message:

add a flag


---
Diffs of the changes:  (+5 -0)

 IntrinsicLowering.h |    5 +++++
 1 files changed, 5 insertions(+)


Index: llvm/include/llvm/CodeGen/IntrinsicLowering.h
diff -u llvm/include/llvm/CodeGen/IntrinsicLowering.h:1.8 llvm/include/llvm/CodeGen/IntrinsicLowering.h:1.9
--- llvm/include/llvm/CodeGen/IntrinsicLowering.h:1.8	Thu Apr 21 15:38:00 2005
+++ llvm/include/llvm/CodeGen/IntrinsicLowering.h	Wed Nov 16 01:21:15 2005
@@ -40,9 +40,14 @@
   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.






More information about the llvm-commits mailing list