[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

Jim Laskey jlaskey at apple.com
Wed Jan 4 05:43:11 PST 2006



Changes in directory llvm/lib/CodeGen/SelectionDAG:

LegalizeDAG.cpp updated: 1.249 -> 1.250
---
Log message:

Change how MachineDebugInfo is fetched.


---
Diffs of the changes:  (+1 -1)

 LegalizeDAG.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.249 llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.250
--- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.249	Sat Dec 24 19:07:37 2005
+++ llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp	Wed Jan  4 07:42:59 2006
@@ -619,7 +619,7 @@
     default: assert(0 && "This action is not supported yet!");
     case TargetLowering::Expand: {
       if (TLI.isOperationLegal(ISD::DEBUG_LOC, MVT::Other)) {
-        MachineDebugInfo &DebugInfo = DAG.getMachineFunction().getDebugInfo();
+        MachineDebugInfo &DebugInfo = getMachineDebugInfo();
         std::vector<SDOperand> Ops;
         Ops.push_back(Tmp1);  // chain
         Ops.push_back(Node->getOperand(1));  // line #






More information about the llvm-commits mailing list