forked from OSchip/llvm-project
Set debug location while setting insertion point.
llvm-svn: 131575
This commit is contained in:
parent
1647354ec9
commit
699c973391
|
@ -80,6 +80,7 @@ public:
|
|||
void SetInsertPoint(Instruction *I) {
|
||||
BB = I->getParent();
|
||||
InsertPt = I;
|
||||
SetCurrentDebugLocation(I->getDebugLoc());
|
||||
}
|
||||
|
||||
/// SetInsertPoint - This specifies that created instructions should be
|
||||
|
|
Loading…
Reference in New Issue