summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-03-24 09:50:27 +0000
committerJim Laskey <jlaskey@mac.com>2006-03-24 09:50:27 +0000
commit53f1ecc560873b59093c8c9def506d95eaf10d0d (patch)
tree63905e10244aaaa846a459f2c13a46f073fe6fed
parent3481e12f636960f3cc13795578c9b7c2fd3bff2e (diff)
downloadbcm5719-llvm-53f1ecc560873b59093c8c9def506d95eaf10d0d.tar.gz
bcm5719-llvm-53f1ecc560873b59093c8c9def506d95eaf10d0d.zip
Rename for truth in advertising.
llvm-svn: 27063
-rw-r--r--llvm/include/llvm/IntrinsicInst.h2
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/IntrinsicInst.h b/llvm/include/llvm/IntrinsicInst.h
index da1bc4ddce6..b82fa02370c 100644
--- a/llvm/include/llvm/IntrinsicInst.h
+++ b/llvm/include/llvm/IntrinsicInst.h
@@ -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:
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 30871dd4e11..d0003fd0ee3 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -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());
}
}
OpenPOWER on IntegriCloud