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

Reid Spencer reid at x10sys.com
Mon Jan 29 09:40:05 PST 2007



Changes in directory llvm/include/llvm/CodeGen:

IntrinsicLowering.h updated: 1.12 -> 1.13
---
Log message:

IntrinsicLowering now requires TargetData.


---
Diffs of the changes:  (+3 -1)

 IntrinsicLowering.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)


Index: llvm/include/llvm/CodeGen/IntrinsicLowering.h
diff -u llvm/include/llvm/CodeGen/IntrinsicLowering.h:1.12 llvm/include/llvm/CodeGen/IntrinsicLowering.h:1.13
--- llvm/include/llvm/CodeGen/IntrinsicLowering.h:1.12	Sun Jan 28 16:26:42 2007
+++ llvm/include/llvm/CodeGen/IntrinsicLowering.h	Mon Jan 29 11:39:50 2007
@@ -21,10 +21,12 @@
 namespace llvm {
   class CallInst;
   class Module;
+  class TargetData;
 
   class IntrinsicLowering {
+    const TargetData& TD;
   public:
-    IntrinsicLowering() {}
+    IntrinsicLowering(const TargetData &td) : TD(td) {}
 
     /// AddPrototypes - This method, if called, causes all of the prototypes
     /// that might be needed by an intrinsic lowering implementation to be






More information about the llvm-commits mailing list