[llvm-commits] CVS: llvm/lib/Transforms/IPO/LowerSetJmp.cpp

Chris Lattner lattner at cs.uiuc.edu
Sat Sep 20 09:39:01 PDT 2003


Changes in directory llvm/lib/Transforms/IPO:

LowerSetJmp.cpp updated: 1.2 -> 1.3

---
Log message:

Rename Function::getEntryNode -> getEntryBlock


---
Diffs of the changes:

Index: llvm/lib/Transforms/IPO/LowerSetJmp.cpp
diff -u llvm/lib/Transforms/IPO/LowerSetJmp.cpp:1.2 llvm/lib/Transforms/IPO/LowerSetJmp.cpp:1.3
--- llvm/lib/Transforms/IPO/LowerSetJmp.cpp:1.2	Mon Sep 15 00:43:05 2003
+++ llvm/lib/Transforms/IPO/LowerSetJmp.cpp	Sat Sep 20 09:38:44 2003
@@ -268,7 +268,7 @@
 
   // 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.





More information about the llvm-commits mailing list