mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-15 09:33:39 +00:00
Added getEntryNode() and getExitNode() functions.
The latter are actually bogus and will be fixed by me soon. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@802 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bc4ecce4a9
commit
c649458d18
@ -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…
x
Reference in New Issue
Block a user