[llvm-commits] CVS: poolalloc/lib/PoolAllocate/PoolAllocate.cpp

Chris Lattner lattner at cs.uiuc.edu
Sat Feb 21 17:09:01 PST 2004


Changes in directory poolalloc/lib/PoolAllocate:

PoolAllocate.cpp updated: 1.59 -> 1.60

---
Log message:

Don't lose the node offset when computing the mapping


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

Index: poolalloc/lib/PoolAllocate/PoolAllocate.cpp
diff -u poolalloc/lib/PoolAllocate/PoolAllocate.cpp:1.59 poolalloc/lib/PoolAllocate/PoolAllocate.cpp:1.60
--- poolalloc/lib/PoolAllocate/PoolAllocate.cpp:1.59	Fri Feb 20 18:28:58 2004
+++ poolalloc/lib/PoolAllocate/PoolAllocate.cpp	Sat Feb 21 17:08:36 2004
@@ -566,8 +566,7 @@
          E = G.getScalarMap().global_end(); I != E; ++I) {
     // Map all node reachable from this global to the corresponding nodes in
     // the globals graph.
-    DSGraph::computeNodeMapping(G.getNodeForValue(*I).getNode(),
-                                GG.getNodeForValue(*I),
+    DSGraph::computeNodeMapping(G.getNodeForValue(*I), GG.getNodeForValue(*I),
                                 GlobalsGraphNodeMapping);
   }
   





More information about the llvm-commits mailing list