forked from OSchip/llvm-project
Added getEntryNode() and getExitNode() functions.
The latter are actually bogus and will be fixed by me soon. llvm-svn: 802
This commit is contained in:
parent
27ee020e1b
commit
de04672797
|
@ -63,7 +63,12 @@ public:
|
|||
inline const BasicBlocksType &getBasicBlocks() const { return BasicBlocks; }
|
||||
inline BasicBlocksType &getBasicBlocks() { return BasicBlocks; }
|
||||
|
||||
|
||||
inline const BasicBlock* getEntryNode() const { return front(); }
|
||||
inline BasicBlock* getEntryNode() { return front(); }
|
||||
|
||||
inline const BasicBlock* getExitNode() const { return back(); }
|
||||
inline BasicBlock* getExitNode() { return back(); }
|
||||
|
||||
//===--------------------------------------------------------------------===//
|
||||
// BasicBlock iterator forwarding functions
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue