summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/CodeGen/MachineLocation.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineLocation.h b/llvm/include/llvm/CodeGen/MachineLocation.h
index 49344c5f98b..a1fcb9fe757 100644
--- a/llvm/include/llvm/CodeGen/MachineLocation.h
+++ b/llvm/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
OpenPOWER on IntegriCloud