projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
420c69d
)
MachineMove ctor doesn't need to to mutate input, add 'const'
author
Chris Lattner
<sabre@nondot.org>
Mon, 15 Mar 2010 05:55:35 +0000
(
05:55
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 15 Mar 2010 05:55:35 +0000
(
05:55
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98533
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/MachineLocation.h
patch
|
blob
|
history
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