summaryrefslogtreecommitdiff
path: root/include/llvm/IntrinsicInst.h
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-03-27 23:30:18 +0000
committerJim Laskey <jlaskey@mac.com>2006-03-27 23:30:18 +0000
commiteabef6b12e255125633e4149e86620223377639b (patch)
tree063e7e40dfd3c144030b36c648c5cdd859a55835 /include/llvm/IntrinsicInst.h
parentf211600f3deae9a37a131b028d7bb38e7da250f2 (diff)
downloadllvm-eabef6b12e255125633e4149e86620223377639b.tar.gz
llvm-eabef6b12e255125633e4149e86620223377639b.tar.bz2
llvm-eabef6b12e255125633e4149e86620223377639b.tar.xz
Should not remove casts from variable's alloca.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27191 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/IntrinsicInst.h')
-rw-r--r--include/llvm/IntrinsicInst.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/IntrinsicInst.h b/include/llvm/IntrinsicInst.h
index b82fa02370..146ce1db08 100644
--- a/include/llvm/IntrinsicInst.h
+++ b/include/llvm/IntrinsicInst.h
@@ -163,7 +163,7 @@ namespace llvm {
/// DbgDeclareInst - This represents the llvm.dbg.declare instruction.
///
struct DbgDeclareInst : public DbgInfoIntrinsic {
- Value *getAddress() const { return StripCast(getOperand(1)); }
+ Value *getAddress() const { return getOperand(1); }
Value *getVariable() const { return StripCast(getOperand(2)); }
// Methods for support type inquiry through isa, cast, and dyn_cast: