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:
Chris Lattner 2010-03-15 05:55:35 +00:00
parent 420c69da57
commit 6894b07996

View File

@ -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