mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-05 02:16:46 +00:00
Don't pass BitVectors by value, pass them by reference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63931 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b454eabe7f
commit
772eeb1adb
@ -125,7 +125,7 @@ public:
|
||||
/// setUsed / setUnused - Mark the state of one or a number of registers.
|
||||
///
|
||||
void setUsed(unsigned Reg, bool ImpDef = false);
|
||||
void setUsed(BitVector Regs, bool ImpDef = false) {
|
||||
void setUsed(BitVector &Regs, bool ImpDef = false) {
|
||||
RegsAvailable &= ~Regs;
|
||||
if (ImpDef)
|
||||
ImplicitDefed |= Regs;
|
||||
@ -133,7 +133,7 @@ public:
|
||||
ImplicitDefed &= ~Regs;
|
||||
}
|
||||
void setUnused(unsigned Reg, const MachineInstr *MI);
|
||||
void setUnused(BitVector Regs) {
|
||||
void setUnused(BitVector &Regs) {
|
||||
RegsAvailable |= Regs;
|
||||
ImplicitDefed &= ~Regs;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user