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
This commit is contained in:
Jim Laskey 2006-02-13 12:50:39 +00:00
parent 6831a81599
commit d96185aa62
3 changed files with 7 additions and 5 deletions

View File

@ -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.
///

View File

@ -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);
}

View File

@ -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");