summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-20 14:39:18 +0000
committerChris Lattner <sabre@nondot.org>2003-09-20 14:39:18 +0000
commit5dac64f6297e679a7cbbe2ae01b4160bb9db60b1 (patch)
treed535c05b0364b360cc3822368d8a814c0893eddb /llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
parent21f750fabb16cfa94b81000a2c298daf7ed53428 (diff)
downloadbcm5719-llvm-5dac64f6297e679a7cbbe2ae01b4160bb9db60b1.tar.gz
bcm5719-llvm-5dac64f6297e679a7cbbe2ae01b4160bb9db60b1.zip
Rename Function::getEntryNode -> getEntryBlock
llvm-svn: 8625
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp b/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
index e94f0b7876e..aa46048ae03 100644
--- a/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
+++ b/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
@@ -228,7 +228,7 @@ bool ProfilePaths::runOnFunction(Function &F){
// 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,
OpenPOWER on IntegriCloud