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

Jim Laskey jlaskey at apple.com
Fri Mar 24 01:50:40 PST 2006



Changes in directory llvm/lib/CodeGen/SelectionDAG:

SelectionDAGISel.cpp updated: 1.203 -> 1.204
---
Log message:

Rename for truth in advertising.


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

 SelectionDAGISel.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.203 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.204
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.203	Thu Mar 23 20:22:33 2006
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp	Fri Mar 24 03:50:27 2006
@@ -1187,8 +1187,8 @@
     if (DebugInfo && DebugInfo->Verify(DI.getVariable())) {
       std::vector<SDOperand> Ops;
 
-      SDOperand AllocaOp  = getValue(I.getOperand(1));
-      if (FrameIndexSDNode *FI = dyn_cast<FrameIndexSDNode>(AllocaOp)) {
+      SDOperand AddressOp  = getValue(DI.getAddress());
+      if (FrameIndexSDNode *FI = dyn_cast<FrameIndexSDNode>(AddressOp)) {
         DebugInfo->RecordVariable(DI.getVariable(), FI->getIndex());
       }
     }






More information about the llvm-commits mailing list