Should not remove casts from variable's alloca.

llvm-svn: 27191
This commit is contained in:
Jim Laskey 2006-03-27 23:30:18 +00:00
parent 9e140729aa
commit e58040f7ca
1 changed files with 1 additions and 1 deletions

View File

@ -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: