summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/LowerSetJmp.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/IPO/LowerSetJmp.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/IPO/LowerSetJmp.cpp')
-rw-r--r--llvm/lib/Transforms/IPO/LowerSetJmp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/LowerSetJmp.cpp b/llvm/lib/Transforms/IPO/LowerSetJmp.cpp
index fc9af5bc57f..d6c02569a73 100644
--- a/llvm/lib/Transforms/IPO/LowerSetJmp.cpp
+++ b/llvm/lib/Transforms/IPO/LowerSetJmp.cpp
@@ -268,7 +268,7 @@ AllocaInst* LowerSetJmp::GetSetJmpMap(Function* Func)
// Insert the setjmp map initialization before the first instruction in
// the function.
- Instruction* Inst = Func->getEntryNode().begin();
+ Instruction* Inst = Func->getEntryBlock().begin();
assert(Inst && "Couldn't find even ONE instruction in entry block!");
// Fill in the alloca and call to initialize the SJ map.
OpenPOWER on IntegriCloud