mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +00:00
Set debug location while setting insertion point.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131575 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f07090134d
commit
2d48ad67cd
@ -80,6 +80,7 @@ public:
|
|||||||
void SetInsertPoint(Instruction *I) {
|
void SetInsertPoint(Instruction *I) {
|
||||||
BB = I->getParent();
|
BB = I->getParent();
|
||||||
InsertPt = I;
|
InsertPt = I;
|
||||||
|
SetCurrentDebugLocation(I->getDebugLoc());
|
||||||
}
|
}
|
||||||
|
|
||||||
/// SetInsertPoint - This specifies that created instructions should be
|
/// SetInsertPoint - This specifies that created instructions should be
|
||||||
|
Loading…
x
Reference in New Issue
Block a user