summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
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
commit390c63e9d94a37abfbba65472f9b542d8ab1d59c (patch)
tree34dccb55f84f825a63aee6a5abcb7b24596b8f7e /llvm/lib/CodeGen
parent462505fc5f35bae5054f537b00d2bd3c989cd17e (diff)
downloadbcm5719-llvm-390c63e9d94a37abfbba65472f9b542d8ab1d59c.tar.gz
bcm5719-llvm-390c63e9d94a37abfbba65472f9b542d8ab1d59c.zip
Rename to better reflect usage (current and planned.)
llvm-svn: 26145
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/MachineDebugInfo.cpp5
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp2
2 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/MachineDebugInfo.cpp b/llvm/lib/CodeGen/MachineDebugInfo.cpp
index 460ed5c1b19..2339e45f07e 100644
--- a/llvm/lib/CodeGen/MachineDebugInfo.cpp
+++ b/llvm/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/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 5d43f035a19..96c1b312c02 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/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");
OpenPOWER on IntegriCloud