summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-29 17:39:50 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-29 17:39:50 +0000
commit34dbbca4833aa50a6ef3e77f87d8c2d55f11798e (patch)
tree5cd14ddeb2a2aab469d8336c36e6ab81fa5590c4
parentd33e5a822b17c7c2d6a619219be9f610274a43c6 (diff)
downloadbcm5719-llvm-34dbbca4833aa50a6ef3e77f87d8c2d55f11798e.tar.gz
bcm5719-llvm-34dbbca4833aa50a6ef3e77f87d8c2d55f11798e.zip
IntrinsicLowering now requires TargetData.
llvm-svn: 33617
-rw-r--r--llvm/include/llvm/CodeGen/IntrinsicLowering.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/IntrinsicLowering.h b/llvm/include/llvm/CodeGen/IntrinsicLowering.h
index f429336d83a..098d59c1c1d 100644
--- a/llvm/include/llvm/CodeGen/IntrinsicLowering.h
+++ b/llvm/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
OpenPOWER on IntegriCloud