diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-05-20 21:50:09 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-05-20 21:50:09 +0000 |
commit | 958b68140e08df76e1b8f3287cd0a24d0fb35734 (patch) | |
tree | 3122d3eb6dbe62bc21758dd5a7f5d517b6cbcf5d /lib/MC/MCDwarf.cpp | |
parent | d37776d1c15977d9d86cab08250b6cfd847b7cae (diff) | |
download | external_llvm-958b68140e08df76e1b8f3287cd0a24d0fb35734.tar.gz external_llvm-958b68140e08df76e1b8f3287cd0a24d0fb35734.tar.bz2 external_llvm-958b68140e08df76e1b8f3287cd0a24d0fb35734.zip |
No reason not to allow defining the CFA as a reg w/ offset zero.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131760 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCDwarf.cpp')
-rw-r--r-- | lib/MC/MCDwarf.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/MC/MCDwarf.cpp b/lib/MC/MCDwarf.cpp index 93f10c43b3..13cb81ab44 100644 --- a/lib/MC/MCDwarf.cpp +++ b/lib/MC/MCDwarf.cpp @@ -539,8 +539,6 @@ void FrameEmitterImpl::EmitCFIInstruction(MCStreamer &Streamer, // 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 { |