Repair debug frames as a prelude to eh_frames. Switched to using MachineMoves

by value so that clean up is less confusing (these vectors tend to be small.)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33488 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Laskey
2007-01-24 18:45:13 +00:00
parent 7cce0ac42b
commit 5e73d5bd2e
8 changed files with 84 additions and 38 deletions
+8 -2
View File
@@ -79,10 +79,16 @@ private:
unsigned LabelID; // Label ID number for post-instruction
// address when result of move takes
// effect.
const MachineLocation Destination; // Move to location.
const MachineLocation Source; // Move from location.
MachineLocation Destination; // Move to location.
MachineLocation Source; // Move from location.
public:
MachineMove()
: LabelID(0)
, Destination()
, Source()
{}
MachineMove(unsigned ID, MachineLocation &D, MachineLocation &S)
: LabelID(ID)
, Destination(D)