mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Properly restore DebugLoc after leaving the local constant area.
llvm-svn: 108364
This commit is contained in:
parent
6c1d01b37c
commit
9589865567
@ -288,9 +288,10 @@ void FastISel::recomputeInsertPt() {
|
||||
|
||||
FastISel::SavePoint FastISel::enterLocalValueArea() {
|
||||
MachineBasicBlock::iterator OldInsertPt = FuncInfo.InsertPt;
|
||||
DebugLoc OldDL = DL;
|
||||
recomputeInsertPt();
|
||||
DL = DebugLoc();
|
||||
SavePoint SP = { OldInsertPt, DL };
|
||||
SavePoint SP = { OldInsertPt, OldDL };
|
||||
return SP;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user