IntrinsicLowering now requires TargetData.
authorReid Spencer <rspencer@reidspencer.com>
Mon, 29 Jan 2007 17:39:50 +0000 (17:39 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Mon, 29 Jan 2007 17:39:50 +0000 (17:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33617 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/IntrinsicLowering.h

index f429336d83ad9bb0a60c3036e6110f858ac5e909..098d59c1c1df40a3eab791bc7c9f4493d53233b1 100644 (file)
 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