diff options
-rw-r--r-- | include/llvm/CodeGen/MachineLocation.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineLocation.h b/include/llvm/CodeGen/MachineLocation.h index 49344c5f98..a1fcb9fe75 100644 --- a/include/llvm/CodeGen/MachineLocation.h +++ b/include/llvm/CodeGen/MachineLocation.h @@ -78,7 +78,8 @@ private: public: MachineMove() : Label(0) {} - MachineMove(MCSymbol *label, MachineLocation &D, MachineLocation &S) + MachineMove(MCSymbol *label, const MachineLocation &D, + const MachineLocation &S) : Label(label), Destination(D), Source(S) {} // Accessors |