forked from OSchip/llvm-project
Add an accessor method to return the insertion point.
llvm-svn: 72184
This commit is contained in:
parent
e70f108158
commit
9a3964a663
|
@ -67,6 +67,8 @@ public:
|
||||||
|
|
||||||
BasicBlock *GetInsertBlock() const { return BB; }
|
BasicBlock *GetInsertBlock() const { return BB; }
|
||||||
|
|
||||||
|
BasicBlock::iterator GetInsertPoint() const { return InsertPt; }
|
||||||
|
|
||||||
/// SetInsertPoint - This specifies that created instructions should be
|
/// SetInsertPoint - This specifies that created instructions should be
|
||||||
/// appended to the end of the specified block.
|
/// appended to the end of the specified block.
|
||||||
void SetInsertPoint(BasicBlock *TheBB) {
|
void SetInsertPoint(BasicBlock *TheBB) {
|
||||||
|
|
Loading…
Reference in New Issue