aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-02-13 12:50:39 +0000
committerJim Laskey <jlaskey@mac.com>2006-02-13 12:50:39 +0000
commitd96185aa62dacf5c75d889231a8ab2e0f1ceb073 (patch)
treef3b7d90b8e40b605bebec3ee1cc7c8b82bef7c63
parent6831a815999dde4cf801e2076e66b4943964daf2 (diff)
Rename to better reflect usage (current and planned.)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26145 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/MachineDebugInfo.h5
-rw-r--r--lib/CodeGen/MachineDebugInfo.cpp5
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp2
3 files changed, 7 insertions, 5 deletions
diff --git a/include/llvm/CodeGen/MachineDebugInfo.h b/include/llvm/CodeGen/MachineDebugInfo.h
index 0d80f93ead..b730ddc9e2 100644
--- a/include/llvm/CodeGen/MachineDebugInfo.h
+++ b/include/llvm/CodeGen/MachineDebugInfo.h
@@ -584,9 +584,10 @@ public:
///
bool doFinalization();
- /// Deserialize - Convert a Value to a debug information descriptor.
+ /// getDescFor - Convert a Value to a debug information descriptor.
///
- DebugInfoDesc *Deserialize(Value *V);
+ // FIXME - use new Value type when available.
+ DebugInfoDesc *getDescFor(Value *V);
/// Verify - Verify that a Value is debug information descriptor.
///
diff --git a/lib/CodeGen/MachineDebugInfo.cpp b/lib/CodeGen/MachineDebugInfo.cpp
index 460ed5c1b1..2339e45f07 100644
--- a/lib/CodeGen/MachineDebugInfo.cpp
+++ b/lib/CodeGen/MachineDebugInfo.cpp
@@ -887,9 +887,10 @@ bool MachineDebugInfo::doFinalization() {
return false;
}
-/// Deserialize - Convert a Value to a debug information descriptor.
+/// getDescFor - Convert a Value to a debug information descriptor.
///
-DebugInfoDesc *MachineDebugInfo::Deserialize(Value *V) {
+// FIXME - use new Value type when available.
+DebugInfoDesc *MachineDebugInfo::getDescFor(Value *V) {
return DR.Deserialize(V);
}
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 5d43f035a1..96c1b312c0 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -954,7 +954,7 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) {
// column
Ops.push_back(getValue(I.getOperand(3)));
- DebugInfoDesc *DD = DebugInfo->Deserialize(I.getOperand(4));
+ DebugInfoDesc *DD = DebugInfo->getDescFor(I.getOperand(4));
assert(DD && "Not a debug information descriptor");
CompileUnitDesc *CompileUnit = dyn_cast<CompileUnitDesc>(DD);
assert(CompileUnit && "Not a compile unit");