aboutsummaryrefslogtreecommitdiffstats
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
commit0892cee81fa8c1ea6a0901b268fe9ad2b8fa733a (patch)
tree92517263282319fee9a35be8786c6ad5f70d02ee
parent2d395d9f656366f0f7c41c397a56bfcc3f24675a (diff)
downloadexternal_llvm-0892cee81fa8c1ea6a0901b268fe9ad2b8fa733a.zip
external_llvm-0892cee81fa8c1ea6a0901b268fe9ad2b8fa733a.tar.gz
external_llvm-0892cee81fa8c1ea6a0901b268fe9ad2b8fa733a.tar.bz2
Rename for truth in advertising.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27063 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/IntrinsicInst.h2
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/IntrinsicInst.h b/include/llvm/IntrinsicInst.h
index da1bc4d..b82fa02 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 *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/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 30871dd..d0003fd 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/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());
}
}