diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-05-16 21:02:15 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-05-16 21:02:15 +0000 |
commit | 6b67ffd68bb2e555b1b512a809f3c82c68f3debe (patch) | |
tree | 717cc6e707d215b72fe79f427c6b7080c8fb9253 /include | |
parent | 529874cf0cc1686a157c31c750fd10adabaa2f1a (diff) | |
download | llvm-6b67ffd68bb2e555b1b512a809f3c82c68f3debe.tar.gz llvm-6b67ffd68bb2e555b1b512a809f3c82c68f3debe.tar.bz2 llvm-6b67ffd68bb2e555b1b512a809f3c82c68f3debe.tar.xz |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/MachineModuleInfo.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/MachineModuleInfo.h b/include/llvm/CodeGen/MachineModuleInfo.h index 95eb1e40dc..186017c906 100644 --- a/include/llvm/CodeGen/MachineModuleInfo.h +++ b/include/llvm/CodeGen/MachineModuleInfo.h @@ -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 |