aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/IntrinsicInst.h
diff options
context:
space:
mode:
authorMon P Wang <wangmp@apple.com>2010-04-02 18:43:02 +0000
committerMon P Wang <wangmp@apple.com>2010-04-02 18:43:02 +0000
commitf9f760e09acb520d70f23cdbd6b2d288b9094a46 (patch)
tree29dd19b0d64199a333a2c057e99452ae065ed3d7 /include/llvm/IntrinsicInst.h
parent703dd7c7eda9ffea68170bd9d8cdbc74322825dc (diff)
downloadexternal_llvm-f9f760e09acb520d70f23cdbd6b2d288b9094a46.zip
external_llvm-f9f760e09acb520d70f23cdbd6b2d288b9094a46.tar.gz
external_llvm-f9f760e09acb520d70f23cdbd6b2d288b9094a46.tar.bz2
Revert r100191 since it breaks objc in clang
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100199 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 bd8a8c4..d86b33e 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();
}