[llvm-commits] CVS: llvm/include/llvm/Function.h

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


Changes in directory llvm/include/llvm:

Function.h updated: 1.44 -> 1.45

---
Log message:

Rename getEntryNode -> getEntryBlock()


---
Diffs of the changes:

Index: llvm/include/llvm/Function.h
diff -u llvm/include/llvm/Function.h:1.44 llvm/include/llvm/Function.h:1.45
--- llvm/include/llvm/Function.h:1.44	Tue Sep 16 23:58:43 2003
+++ llvm/include/llvm/Function.h	Sat Sep 20 09:36:49 2003
@@ -122,8 +122,8 @@
   const BasicBlockListType &getBasicBlockList() const { return BasicBlocks; }
         BasicBlockListType &getBasicBlockList()       { return BasicBlocks; }
 
-  const BasicBlock       &getEntryNode() const   { return front(); }
-        BasicBlock       &getEntryNode()         { return front(); }
+  const BasicBlock       &getEntryBlock() const   { return front(); }
+        BasicBlock       &getEntryBlock()         { return front(); }
 
   //===--------------------------------------------------------------------===//
   // Symbol Table Accessing functions...





More information about the llvm-commits mailing list