diff options
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/MachineDebugInfo.cpp | 5 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 |
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"); |

