mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 06:29:05 +00:00
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
This commit is contained in:
@@ -163,7 +163,7 @@ namespace llvm {
|
|||||||
/// DbgDeclareInst - This represents the llvm.dbg.declare instruction.
|
/// DbgDeclareInst - This represents the llvm.dbg.declare instruction.
|
||||||
///
|
///
|
||||||
struct DbgDeclareInst : public DbgInfoIntrinsic {
|
struct DbgDeclareInst : public DbgInfoIntrinsic {
|
||||||
Value *getAddress() const { return StripCast(getOperand(1)); }
|
Value *getAddress() const { return getOperand(1); }
|
||||||
Value *getVariable() const { return StripCast(getOperand(2)); }
|
Value *getVariable() const { return StripCast(getOperand(2)); }
|
||||||
|
|
||||||
// Methods for support type inquiry through isa, cast, and dyn_cast:
|
// Methods for support type inquiry through isa, cast, and dyn_cast:
|
||||||
|
Reference in New Issue
Block a user