projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Normalize successors' probabilities when building MBBs for jump table.
[oota-llvm.git]
/
lib
/
CodeGen
/
InterferenceCache.cpp
diff --git
a/lib/CodeGen/InterferenceCache.cpp
b/lib/CodeGen/InterferenceCache.cpp
index fd5749bfefa069391ee36d25bdbba5966ac6ff97..f8cc24724580a1492ee06ef79ae0394670c79ccf 100644
(file)
--- a/
lib/CodeGen/InterferenceCache.cpp
+++ b/
lib/CodeGen/InterferenceCache.cpp
@@
-144,7
+144,8
@@
void InterferenceCache::Entry::update(unsigned MBBNum) {
PrevPos = Start;
}
PrevPos = Start;
}
- MachineFunction::const_iterator MFI = MF->getBlockNumbered(MBBNum);
+ MachineFunction::const_iterator MFI =
+ MF->getBlockNumbered(MBBNum)->getIterator();
BlockInterference *BI = &Blocks[MBBNum];
ArrayRef<SlotIndex> RegMaskSlots;
ArrayRef<const uint32_t*> RegMaskBits;
BlockInterference *BI = &Blocks[MBBNum];
ArrayRef<SlotIndex> RegMaskSlots;
ArrayRef<const uint32_t*> RegMaskBits;