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

Brian Gaeke gaeke at gally.cs.uiuc.edu
Tue Feb 10 13:18:03 PST 2004


Changes in directory reopt/lib/LightWtProfiling:

TraceToFunction.cpp updated: 1.21 -> 1.22

---
Log message:

Change to use new version of BasicBlock constructor.


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

Index: reopt/lib/LightWtProfiling/TraceToFunction.cpp
diff -u reopt/lib/LightWtProfiling/TraceToFunction.cpp:1.21 reopt/lib/LightWtProfiling/TraceToFunction.cpp:1.22
--- reopt/lib/LightWtProfiling/TraceToFunction.cpp:1.21	Thu Jan 15 13:40:08 2004
+++ reopt/lib/LightWtProfiling/TraceToFunction.cpp	Tue Feb 10 13:17:15 2004
@@ -422,7 +422,7 @@
   // the function. So create new entry basic block to serve as source
   // for old entry's initial phi node.
   if (srcB == T.getEntryBasicBlock ()) {
-    BasicBlock *FEntry = new BasicBlock ("entryfixup", dstB);
+    BasicBlock *FEntry = new BasicBlock ("entryfixup", 0, dstB);
     FEntry->getInstList ().push_back (new BranchInst (dstB));
     // Replace the references to the trace's predecessor with a
     // reference to FEntry now. This is kind of a dodge because we





More information about the llvm-commits mailing list