From 36abe148630ea3742a914d87bd6a54be7d8eb825 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Mon, 29 Jan 2007 17:39:50 +0000 Subject: [PATCH] IntrinsicLowering now requires TargetData. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33617 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/IntrinsicLowering.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/llvm/CodeGen/IntrinsicLowering.h b/include/llvm/CodeGen/IntrinsicLowering.h index f429336d83a..098d59c1c1d 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 -- 2.34.1