From eabef6b12e255125633e4149e86620223377639b Mon Sep 17 00:00:00 2001 From: Jim Laskey Date: Mon, 27 Mar 2006 23:30:18 +0000 Subject: [PATCH] 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 --- include/llvm/IntrinsicInst.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/IntrinsicInst.h b/include/llvm/IntrinsicInst.h index b82fa02370c..146ce1db080 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: -- 2.34.1