Change the argument to getIntegerSCEV to be an int64_t, rather
[oota-llvm.git] / include / llvm / IntrinsicInst.h
index f40e8cc76a54ebccd5fe380803852d1f8d4ab4f8..d86b33ef50a8e8cc22af165f67cb7f4b84226af8 100644 (file)
@@ -25,7 +25,6 @@
 #define LLVM_INTRINSICINST_H
 
 #include "llvm/Constants.h"
-#include "llvm/Metadata.h"
 #include "llvm/Function.h"
 #include "llvm/Instructions.h"
 #include "llvm/Intrinsics.h"
@@ -83,12 +82,7 @@ namespace llvm {
   ///
   class DbgDeclareInst : public DbgInfoIntrinsic {
   public:
-    Value *getAddress() const {
-      if (MDNode* MD = dyn_cast<MDNode>(getOperand(1)))
-       return MD->getOperand(0);
-      else
-       return NULL;
-    }
+    Value *getAddress() const;
     MDNode *getVariable() const { return cast<MDNode>(getOperand(2)); }
 
     // Methods for support type inquiry through isa, cast, and dyn_cast: