summaryrefslogtreecommitdiff
path: root/include/llvm/IntrinsicInst.h
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-03-30 22:27:04 +0000
committerBob Wilson <bob.wilson@apple.com>2010-03-30 22:27:04 +0000
commit100f090adde26005b9f1eca96871dff52825b27b (patch)
tree9daabef099b44cf6b046f93a80afd79f8779301f /include/llvm/IntrinsicInst.h
parent722f2290b800ea96670e923ee9a4aa3b9efa35e8 (diff)
downloadllvm-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.h13
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();
}