llvm.org GIT mirror llvm / 6894b07
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 Chris Lattner 10 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
7777 public:
7878 MachineMove() : Label(0) {}
7979
80 MachineMove(MCSymbol *label, MachineLocation &D, MachineLocation &S)
80 MachineMove(MCSymbol *label, const MachineLocation &D,
81 const MachineLocation &S)
8182 : Label(label), Destination(D), Source(S) {}
8283
8384 // Accessors