projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be876e3
)
Properly restore DebugLoc after leaving the local constant area.
author
Dan Gohman
<gohman@apple.com>
Wed, 14 Jul 2010 22:01:31 +0000
(22:01 +0000)
committer
Dan Gohman
<gohman@apple.com>
Wed, 14 Jul 2010 22:01:31 +0000
(22:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108364
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/FastISel.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/FastISel.cpp
b/lib/CodeGen/SelectionDAG/FastISel.cpp
index 6c13f27199e8f563e4c702c14d292034c3c4887d..decaa769e99fe11d67d8b233e3c0905f070ac07f 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/FastISel.cpp
+++ b/
lib/CodeGen/SelectionDAG/FastISel.cpp
@@
-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,
Old
DL };
return SP;
}