aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen
diff options
context:
space:
mode:
authorJakub Staszak <kubastaszak@gmail.com>2013-02-16 15:47:26 +0000
committerJakub Staszak <kubastaszak@gmail.com>2013-02-16 15:47:26 +0000
commitb717a5084722a5cad843444a8b1b4bf53f1c6325 (patch)
treedd40ae73b60e615e52f883bb72b78d8426597392 /include/llvm/CodeGen
parentc213366063fb3513884175d6d040568efbc1419f (diff)
downloadexternal_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.h2
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();