IntrinsicLowering now requires TargetData.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33617 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer
2007-01-29 17:39:50 +00:00
parent 2957f2deb3
commit 36abe14863

View File

@@ -21,10 +21,12 @@
namespace llvm { namespace llvm {
class CallInst; class CallInst;
class Module; class Module;
class TargetData;
class IntrinsicLowering { class IntrinsicLowering {
const TargetData& TD;
public: public:
IntrinsicLowering() {} IntrinsicLowering(const TargetData &td) : TD(td) {}
/// AddPrototypes - This method, if called, causes all of the prototypes /// AddPrototypes - This method, if called, causes all of the prototypes
/// that might be needed by an intrinsic lowering implementation to be /// that might be needed by an intrinsic lowering implementation to be