[llvm-commits] CVS: llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Sep 20 09:39:16 PDT 2003
Changes in directory llvm/lib/Transforms/Instrumentation/ProfilePaths:
ProfilePaths.cpp updated: 1.31 -> 1.32
---
Log message:
Rename Function::getEntryNode -> getEntryBlock
---
Diffs of the changes:
Index: llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
diff -u llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp:1.31 llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp:1.32
--- llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp:1.31 Wed Sep 10 15:35:33 2003
+++ llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp Sat Sep 20 09:38:49 2003
@@ -228,7 +228,7 @@
// insert initialization code in first (entry) BB
// this includes initializing r and count
- insertInTopBB(&F.getEntryNode(),numPaths, rVar, threshold);
+ insertInTopBB(&F.getEntryBlock(), numPaths, rVar, threshold);
//now process the graph: get path numbers,
//get increments along different paths,
More information about the llvm-commits
mailing list