diff options
author | Jakub Staszak <kubastaszak@gmail.com> | 2013-02-16 15:47:26 +0000 |
---|---|---|
committer | Jakub Staszak <kubastaszak@gmail.com> | 2013-02-16 15:47:26 +0000 |
commit | b717a5084722a5cad843444a8b1b4bf53f1c6325 (patch) | |
tree | dd40ae73b60e615e52f883bb72b78d8426597392 /include/llvm/CodeGen | |
parent | c213366063fb3513884175d6d040568efbc1419f (diff) | |
download | external_llvm-b717a5084722a5cad843444a8b1b4bf53f1c6325.zip external_llvm-b717a5084722a5cad843444a8b1b4bf53f1c6325.tar.gz external_llvm-b717a5084722a5cad843444a8b1b4bf53f1c6325.tar.bz2 |
Use const reference instead of vector object when passing an argument to
updateScheduledPressure method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175362 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r-- | include/llvm/CodeGen/MachineScheduler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineScheduler.h b/include/llvm/CodeGen/MachineScheduler.h index 2e39161..57febe7 100644 --- a/include/llvm/CodeGen/MachineScheduler.h +++ b/include/llvm/CodeGen/MachineScheduler.h @@ -360,7 +360,7 @@ protected: void initRegPressure(); - void updateScheduledPressure(std::vector<unsigned> NewMaxPressure); + void updateScheduledPressure(const std::vector<unsigned> &NewMaxPressure); void moveInstruction(MachineInstr *MI, MachineBasicBlock::iterator InsertPos); bool checkSchedLimit(); |