mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-19 17:33:29 +00:00
MachineMove ctor doesn't need to to mutate input, add 'const'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98533 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
420c69da57
commit
6894b07996
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user