diff --git a/include/llvm/IntrinsicInst.h b/include/llvm/IntrinsicInst.h index 48f2da9b76c..0c69e0786f5 100644 --- a/include/llvm/IntrinsicInst.h +++ b/include/llvm/IntrinsicInst.h @@ -103,7 +103,7 @@ namespace llvm { Value *getValue(); uint64_t getOffset() const { return cast( - const_cast(getArgOperand(1)))->getZExtValue(); + const_cast(getArgOperand(1)))->getZExtValue(); } MDNode *getVariable() const { return cast(getArgOperand(2)); }