mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-11 11:34:02 +00:00
Properly restore DebugLoc after leaving the local constant area.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108364 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
be876e3a90
commit
163f78ea40
@ -288,9 +288,10 @@ void FastISel::recomputeInsertPt() {
|
|||||||
|
|
||||||
FastISel::SavePoint FastISel::enterLocalValueArea() {
|
FastISel::SavePoint FastISel::enterLocalValueArea() {
|
||||||
MachineBasicBlock::iterator OldInsertPt = FuncInfo.InsertPt;
|
MachineBasicBlock::iterator OldInsertPt = FuncInfo.InsertPt;
|
||||||
|
DebugLoc OldDL = DL;
|
||||||
recomputeInsertPt();
|
recomputeInsertPt();
|
||||||
DL = DebugLoc();
|
DL = DebugLoc();
|
||||||
SavePoint SP = { OldInsertPt, DL };
|
SavePoint SP = { OldInsertPt, OldDL };
|
||||||
return SP;
|
return SP;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user