diff options
author | Chris Lattner <sabre@nondot.org> | 2010-03-15 05:55:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-03-15 05:55:35 +0000 |
commit | 6894b07996757134b7036753fcad85f354a0f5bd (patch) | |
tree | a362a431ac23dbad6eb2a06178ae6288b79495f7 /include | |
parent | 420c69da57f4c90859dbb51ece63bf5be16ffc82 (diff) | |
download | external_llvm-6894b07996757134b7036753fcad85f354a0f5bd.zip external_llvm-6894b07996757134b7036753fcad85f354a0f5bd.tar.gz external_llvm-6894b07996757134b7036753fcad85f354a0f5bd.tar.bz2 |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/MachineLocation.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineLocation.h b/include/llvm/CodeGen/MachineLocation.h index 49344c5..a1fcb9f 100644 --- 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 |