aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineLocation.h
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2007-01-24 18:45:13 +0000
committerJim Laskey <jlaskey@mac.com>2007-01-24 18:45:13 +0000
commit5e73d5bd2e98afda12fa69a7ea83050c69be0d34 (patch)
tree0b1ab52ac594e70591f43d7d8847aee36dfb27bf /include/llvm/CodeGen/MachineLocation.h
parent7cce0ac42b6bb2fbbbadb542a0b589bd6db7de2e (diff)
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
Diffstat (limited to 'include/llvm/CodeGen/MachineLocation.h')
-rw-r--r--include/llvm/CodeGen/MachineLocation.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/MachineLocation.h b/include/llvm/CodeGen/MachineLocation.h
index ab6a82b14f..023962dd6a 100644
--- a/include/llvm/CodeGen/MachineLocation.h
+++ b/include/llvm/CodeGen/MachineLocation.h
@@ -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)