projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert: r215698 - Current implementation of c.cond.fmt instructions only accept defau...
[oota-llvm.git]
/
lib
/
Analysis
/
IntervalPartition.cpp
diff --git
a/lib/Analysis/IntervalPartition.cpp
b/lib/Analysis/IntervalPartition.cpp
index 0f11e34b600b2b765105eb8f9aa82ee82bc993c8..a0583e86d185e02b428f2f89016b236bfa5c6474 100644
(file)
--- a/
lib/Analysis/IntervalPartition.cpp
+++ b/
lib/Analysis/IntervalPartition.cpp
@@
-17,7
+17,7
@@
using namespace llvm;
char IntervalPartition::ID = 0;
INITIALIZE_PASS(IntervalPartition, "intervals",
char IntervalPartition::ID = 0;
INITIALIZE_PASS(IntervalPartition, "intervals",
- "Interval Partition Construction", true, true)
;
+ "Interval Partition Construction", true, true)
//===----------------------------------------------------------------------===//
// IntervalPartition Implementation
//===----------------------------------------------------------------------===//
// IntervalPartition Implementation
@@
-29,7
+29,7
@@
void IntervalPartition::releaseMemory() {
delete Intervals[i];
IntervalMap.clear();
Intervals.clear();
delete Intervals[i];
IntervalMap.clear();
Intervals.clear();
- RootInterval =
0
;
+ RootInterval =
nullptr
;
}
void IntervalPartition::print(raw_ostream &O, const Module*) const {
}
void IntervalPartition::print(raw_ostream &O, const Module*) const {
@@
-91,7
+91,7
@@
bool IntervalPartition::runOnFunction(Function &F) {
// distinguish it from a copy constructor. Always pass in false for now.
//
IntervalPartition::IntervalPartition(IntervalPartition &IP, bool)
// distinguish it from a copy constructor. Always pass in false for now.
//
IntervalPartition::IntervalPartition(IntervalPartition &IP, bool)
- : FunctionPass(
&
ID) {
+ : FunctionPass(ID) {
assert(IP.getRootInterval() && "Cannot operate on empty IntervalPartitions!");
// Pass false to intervals_begin because we take ownership of it's memory
assert(IP.getRootInterval() && "Cannot operate on empty IntervalPartitions!");
// Pass false to intervals_begin because we take ownership of it's memory