mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-22 20:05:38 +00:00
Rename for truth in advertising.
llvm-svn: 27063
This commit is contained in:
parent
eb5bb57fe8
commit
0d63725a26
@ -163,7 +163,7 @@ namespace llvm {
|
||||
/// DbgDeclareInst - This represents the llvm.dbg.declare instruction.
|
||||
///
|
||||
struct DbgDeclareInst : public DbgInfoIntrinsic {
|
||||
Value *getAllocA() const { return StripCast(getOperand(1)); }
|
||||
Value *getAddress() const { return StripCast(getOperand(1)); }
|
||||
Value *getVariable() const { return StripCast(getOperand(2)); }
|
||||
|
||||
// Methods for support type inquiry through isa, cast, and dyn_cast:
|
||||
|
@ -1187,8 +1187,8 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) {
|
||||
if (DebugInfo && DebugInfo->Verify(DI.getVariable())) {
|
||||
std::vector<SDOperand> Ops;
|
||||
|
||||
SDOperand AllocaOp = getValue(I.getOperand(1));
|
||||
if (FrameIndexSDNode *FI = dyn_cast<FrameIndexSDNode>(AllocaOp)) {
|
||||
SDOperand AddressOp = getValue(DI.getAddress());
|
||||
if (FrameIndexSDNode *FI = dyn_cast<FrameIndexSDNode>(AddressOp)) {
|
||||
DebugInfo->RecordVariable(DI.getVariable(), FI->getIndex());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user