From: Jim Laskey Date: Mon, 13 Feb 2006 12:50:39 +0000 (+0000) Subject: Rename to better reflect usage (current and planned.) X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d96185aa62dacf5c75d889231a8ab2e0f1ceb073;p=oota-llvm.git 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 --- diff --git a/include/llvm/CodeGen/MachineDebugInfo.h b/include/llvm/CodeGen/MachineDebugInfo.h index 0d80f93eadd..b730ddc9e22 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 460ed5c1b19..2339e45f07e 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 5d43f035a19..96c1b312c02 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(DD); assert(CompileUnit && "Not a compile unit");