aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Function.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-20 14:36:49 +0000
committerChris Lattner <sabre@nondot.org>2003-09-20 14:36:49 +0000
commit894707117e718b38cdd5fbbf7b2d2ccfcbafe98b (patch)
treee73f8d9394c962df039855ae52d2a7133fe6cb1d /include/llvm/Function.h
parentab4536e3536fd46863a89fb4cecae9cb8ee21c68 (diff)
downloadexternal_llvm-894707117e718b38cdd5fbbf7b2d2ccfcbafe98b.zip
external_llvm-894707117e718b38cdd5fbbf7b2d2ccfcbafe98b.tar.gz
external_llvm-894707117e718b38cdd5fbbf7b2d2ccfcbafe98b.tar.bz2
Rename getEntryNode -> getEntryBlock()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8624 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r--include/llvm/Function.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h
index 5c466e1..29046ad 100644
--- a/include/llvm/Function.h
+++ b/include/llvm/Function.h
@@ -122,8 +122,8 @@ public:
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...