projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove extraneous typenames from r215957
[oota-llvm.git]
/
lib
/
CodeGen
/
LiveIntervalUnion.cpp
diff --git
a/lib/CodeGen/LiveIntervalUnion.cpp
b/lib/CodeGen/LiveIntervalUnion.cpp
index d5a81a311c647886ce4fc04fd698e950b1dd768b..d81221b6a526cb4d62d992be53b75e9e6c1cff31 100644
(file)
--- a/
lib/CodeGen/LiveIntervalUnion.cpp
+++ b/
lib/CodeGen/LiveIntervalUnion.cpp
@@
-13,7
+13,6
@@
//
//===----------------------------------------------------------------------===//
//
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "regalloc"
#include "llvm/CodeGen/LiveIntervalUnion.h"
#include "llvm/ADT/SparseBitVector.h"
#include "llvm/Support/Debug.h"
#include "llvm/CodeGen/LiveIntervalUnion.h"
#include "llvm/ADT/SparseBitVector.h"
#include "llvm/Support/Debug.h"
@@
-23,6
+22,8
@@
using namespace llvm;
using namespace llvm;
+#define DEBUG_TYPE "regalloc"
+
// Merge a LiveInterval's segments. Guarantee no overlaps.
void LiveIntervalUnion::unify(LiveInterval &VirtReg) {
// Merge a LiveInterval's segments. Guarantee no overlaps.
void LiveIntervalUnion::unify(LiveInterval &VirtReg) {
@@
-138,7
+139,7
@@
collectInterferingVRegs(unsigned MaxInterferingRegs) {
}
LiveInterval::iterator VirtRegEnd = VirtReg->end();
}
LiveInterval::iterator VirtRegEnd = VirtReg->end();
- LiveInterval *RecentReg =
0
;
+ LiveInterval *RecentReg =
nullptr
;
while (LiveUnionI.valid()) {
assert(VirtRegI != VirtRegEnd && "Reached end of VirtReg");
while (LiveUnionI.valid()) {
assert(VirtRegI != VirtRegEnd && "Reached end of VirtReg");
@@
-200,5
+201,5
@@
void LiveIntervalUnion::Array::clear() {
LIUs[i].~LiveIntervalUnion();
free(LIUs);
Size = 0;
LIUs[i].~LiveIntervalUnion();
free(LIUs);
Size = 0;
- LIUs =
0
;
+ LIUs =
nullptr
;
}
}