projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MachineMove ctor doesn't need to to mutate input, add 'const'
[oota-llvm.git]
/
include
/
llvm
/
CodeGen
/
MachineLocation.h
diff --git
a/include/llvm/CodeGen/MachineLocation.h
b/include/llvm/CodeGen/MachineLocation.h
index 49344c5f98bebf4b505a14ef49d340e91e9b11a1..a1fcb9fe7576089e2012bdc374bf7d4cd96a3211 100644
(file)
--- 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