summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d37776d)
raw | patch | inline | side by side (parent: d37776d)
author | Jim Grosbach <grosbach@apple.com> | |
Fri, 20 May 2011 21:50:09 +0000 (21:50 +0000) | ||
committer | Jim Grosbach <grosbach@apple.com> | |
Fri, 20 May 2011 21:50:09 +0000 (21:50 +0000) |
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131760 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp | patch | blob | history | |
lib/MC/MCDwarf.cpp | patch | blob | history |
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp b/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
index 9697400ef178a21d8def979eb13037d1be10a6ce..dd5b0e261490fe19c2de22d6248b3e87b8302aaa 100644 (file)
// If advancing cfa.
if (Dst.isReg() && Dst.getReg() == MachineLocation::VirtualFP) {
- assert(!Src.isReg() && "Machine move not supported yet.");
-
if (Src.getReg() == MachineLocation::VirtualFP) {
OutStreamer.EmitCFIDefCfaOffset(-Src.getOffset());
} else {
diff --git a/lib/MC/MCDwarf.cpp b/lib/MC/MCDwarf.cpp
index 93f10c43b3d293080592164c21ecde0afad9319c..13cb81ab441b84027362681f617d09061673ef23 100644 (file)
--- a/lib/MC/MCDwarf.cpp
+++ b/lib/MC/MCDwarf.cpp
// If advancing cfa.
if (Dst.isReg() && Dst.getReg() == MachineLocation::VirtualFP) {
- assert(!Src.isReg() && "Machine move not supported yet.");
-
if (Src.getReg() == MachineLocation::VirtualFP) {
Streamer.EmitIntValue(dwarf::DW_CFA_def_cfa_offset, 1);
} else {