aboutsummaryrefslogtreecommitdiff
path: root/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
commit02a3be020a6b4eedb4b489959997d23a22cdf22e (patch)
tree39fec120d7a18969260d3b96afb29bdecbcf9155 /lib/Transforms/IPO/LowerSetJmp.cpp
parent894707117e718b38cdd5fbbf7b2d2ccfcbafe98b (diff)
Rename Function::getEntryNode -> getEntryBlock
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8625 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/LowerSetJmp.cpp')
-rw-r--r--lib/Transforms/IPO/LowerSetJmp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/LowerSetJmp.cpp b/lib/Transforms/IPO/LowerSetJmp.cpp
index fc9af5bc57..d6c02569a7 100644
--- a/lib/Transforms/IPO/LowerSetJmp.cpp
+++ b/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.