///
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.
///
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);
}
// 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");