Rename to better reflect usage (current and planned.)
authorJim Laskey <jlaskey@mac.com>
Mon, 13 Feb 2006 12:50:39 +0000 (12:50 +0000)
committerJim Laskey <jlaskey@mac.com>
Mon, 13 Feb 2006 12:50:39 +0000 (12:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26145 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineDebugInfo.h
lib/CodeGen/MachineDebugInfo.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

index 0d80f93eadd6f53c1af14ba6f3a3ca492ea630c8..b730ddc9e2230bb68dbcf8300055c113c81b5359 100644 (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.
   ///
index 460ed5c1b1920e4b235e68fd5e2feca5c3537190..2339e45f07e11e9fb447121bcad4fbf6d491cd86 100644 (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);
 }
 
index 5d43f035a19a1c226ce5f87a4f9cfcacd4f0b11e..96c1b312c024c1963d940a731e6d2fa7c9f39abb 100644 (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");