diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-03-30 22:27:04 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-03-30 22:27:04 +0000 |
commit | 100f090adde26005b9f1eca96871dff52825b27b (patch) | |
tree | 9daabef099b44cf6b046f93a80afd79f8779301f /include/llvm/IntrinsicInst.h | |
parent | 722f2290b800ea96670e923ee9a4aa3b9efa35e8 (diff) | |
download | llvm-100f090adde26005b9f1eca96871dff52825b27b.tar.gz llvm-100f090adde26005b9f1eca96871dff52825b27b.tar.bz2 llvm-100f090adde26005b9f1eca96871dff52825b27b.tar.xz |
Revert Mon Ping's change 99928, since it broke all the llvm-gcc buildbots.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99948 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/IntrinsicInst.h')
-rw-r--r-- | include/llvm/IntrinsicInst.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/include/llvm/IntrinsicInst.h b/include/llvm/IntrinsicInst.h index bd8a8c4e9d..d86b33ef50 100644 --- a/include/llvm/IntrinsicInst.h +++ b/include/llvm/IntrinsicInst.h @@ -133,13 +133,6 @@ namespace llvm { return getAlignmentCst()->getZExtValue(); } - ConstantInt *getVolatileCst() const { - return cast<ConstantInt>(const_cast<Value*>(getOperand(5))); - } - bool isVolatile() const { - return getVolatileCst()->getZExtValue() != 0; - } - /// getDest - This is just like getRawDest, but it strips off any cast /// instructions that feed it, giving the original input. The returned /// value is guaranteed to be a pointer. @@ -162,11 +155,7 @@ namespace llvm { void setAlignment(Constant* A) { setOperand(4, A); } - - void setVolatile(Constant* V) { - setOperand(5, V); - } - + const Type *getAlignmentType() const { return getOperand(4)->getType(); } |