Remove addFrameMove.

Now that we have good testing, remove addFrameMove and create cfi
instructions directly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182052 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2013-05-16 21:02:15 +00:00
parent 529874cf0c
commit 6b67ffd68b
8 changed files with 88 additions and 130 deletions

View File

@@ -238,8 +238,9 @@ public:
return FrameInstructions;
}
void addFrameMove(MCSymbol *Label, const MachineLocation &Dst,
const MachineLocation &Src);
void addFrameInst(const MCCFIInstruction &Inst) {
FrameInstructions.push_back(Inst);
}
/// getCompactUnwindEncoding - Returns the compact unwind encoding for a
/// function if the target supports the encoding. This encoding replaces a