[llvm-commits] CVS: reopt/lib/TraceToFunction/TraceToFunction.cpp

Brian Gaeke gaeke at cs.uiuc.edu
Thu Aug 26 10:09:46 PDT 2004



Changes in directory reopt/lib/TraceToFunction:

TraceToFunction.cpp updated: 1.84 -> 1.85
---
Log message:

Minor edits to comments and whitespace.


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

Index: reopt/lib/TraceToFunction/TraceToFunction.cpp
diff -u reopt/lib/TraceToFunction/TraceToFunction.cpp:1.84 reopt/lib/TraceToFunction/TraceToFunction.cpp:1.85
--- reopt/lib/TraceToFunction/TraceToFunction.cpp:1.84	Thu Aug  5 01:44:02 2004
+++ reopt/lib/TraceToFunction/TraceToFunction.cpp	Thu Aug 26 12:09:34 2004
@@ -246,8 +246,8 @@
           insert (S, LVV, Inst);
     }
 
-  // If there are alternate entry points into the trace, their live-INs are
-  // live-OUT from the main trace.
+  // If there are alternate entry points into the non-traced copy of the
+  // code, their live-INs are live-OUT from the traced copy of the code.
   if (!AlternateEntryPointsV.empty ()) {
     for (std::vector<BasicBlock *>::iterator i = AlternateEntryPointsV.begin (),
          e = AlternateEntryPointsV.end (); i != e; ++i) {
@@ -651,8 +651,8 @@
             predBlock = PN->getIncomingBlock (i);
             break;
           }
-            assert (predBlock
-                    && "Couldn't find phi node pred block given incoming value");
+        assert (predBlock
+                && "Couldn't find phi node pred block given incoming value");
         DEBUG (std::cerr << "hasUseDominatedByEdge: it's a phi node; pred. block is %"
                << predBlock->getName () << "\n");
         dom = DS->dominates (&target->front(), predBlock->getTerminator());






More information about the llvm-commits mailing list