MC: Lift SwitchSection() and Finish() into MCObjectStreamer.
[oota-llvm.git] / include / llvm / IntrinsicInst.h
index bd8a8c4e9d3940b2684e27a2702f35fdf4db5376..5b0e90f5cc07ad6cfe8b1017483b39b675d14774 100644 (file)
@@ -105,8 +105,7 @@ namespace llvm {
       return cast<ConstantInt>(
                              const_cast<Value*>(getOperand(2)))->getZExtValue();
     }
-    const MDNode *getVariable() const { return cast<MDNode>(getOperand(3)); }
-    MDNode *getVariable() { return cast<MDNode>(getOperand(3)); }
+    MDNode *getVariable() const { return cast<MDNode>(getOperand(3)); }
 
     // Methods for support type inquiry through isa, cast, and dyn_cast:
     static inline bool classof(const DbgValueInst *) { return true; }