diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-01-29 17:39:50 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-01-29 17:39:50 +0000 |
commit | 36abe148630ea3742a914d87bd6a54be7d8eb825 (patch) | |
tree | ad6bd0d5cf15d6587cb249856dcf36c8fd9a016d /include/llvm/CodeGen/IntrinsicLowering.h | |
parent | 2957f2deb3d8180e87c99bfbabd7ba5511d6948b (diff) |
IntrinsicLowering now requires TargetData.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33617 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/IntrinsicLowering.h')
-rw-r--r-- | include/llvm/CodeGen/IntrinsicLowering.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/IntrinsicLowering.h b/include/llvm/CodeGen/IntrinsicLowering.h index f429336d83..098d59c1c1 100644 --- a/include/llvm/CodeGen/IntrinsicLowering.h +++ b/include/llvm/CodeGen/IntrinsicLowering.h @@ -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 |