mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Speedup debug builds a bit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15137 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ebd7e6c54d
commit
4dc54ae0d9
@ -95,8 +95,9 @@ namespace llvm {
|
||||
virtual bool runOnMachineFunction(MachineFunction&);
|
||||
|
||||
LiveInterval& getInterval(unsigned reg) {
|
||||
assert(r2iMap_.count(reg)&& "Interval does not exist for register");
|
||||
return *r2iMap_.find(reg)->second;
|
||||
Reg2IntervalMap::iterator I = r2iMap_.find(reg);
|
||||
assert(I != r2iMap_.end()&& "Interval does not exist for register");
|
||||
return *I->second;
|
||||
}
|
||||
|
||||
/// getInstructionIndex - returns the base index of instr
|
||||
|
@ -95,8 +95,9 @@ namespace llvm {
|
||||
virtual bool runOnMachineFunction(MachineFunction&);
|
||||
|
||||
LiveInterval& getInterval(unsigned reg) {
|
||||
assert(r2iMap_.count(reg)&& "Interval does not exist for register");
|
||||
return *r2iMap_.find(reg)->second;
|
||||
Reg2IntervalMap::iterator I = r2iMap_.find(reg);
|
||||
assert(I != r2iMap_.end()&& "Interval does not exist for register");
|
||||
return *I->second;
|
||||
}
|
||||
|
||||
/// getInstructionIndex - returns the base index of instr
|
||||
|
Loading…
Reference in New Issue
Block a user