mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-14 15:28:20 +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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user