diff options
Diffstat (limited to 'include/llvm/IntrinsicInst.h')
-rw-r--r-- | include/llvm/IntrinsicInst.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/IntrinsicInst.h b/include/llvm/IntrinsicInst.h index 996c83c..4e4d475 100644 --- a/include/llvm/IntrinsicInst.h +++ b/include/llvm/IntrinsicInst.h @@ -97,10 +97,10 @@ namespace llvm { } unsigned getLine() const { - return unsigned(cast<ConstantInt>(getOperand(1))->getRawValue()); + return unsigned(cast<ConstantInt>(getOperand(1))->getZExtValue()); } unsigned getColumn() const { - return unsigned(cast<ConstantInt>(getOperand(2))->getRawValue()); + return unsigned(cast<ConstantInt>(getOperand(2))->getZExtValue()); } std::string getFileName() const; |