projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix some null checks to actually test the part that needs checking.
[oota-llvm.git]
/
include
/
llvm
/
Analysis
/
Interval.h
diff --git
a/include/llvm/Analysis/Interval.h
b/include/llvm/Analysis/Interval.h
index b9e1d31e3a36b4bad7e02b5308d7587945757ddf..bed815a66525e0962625ab5829975075da2e29d4 100644
(file)
--- a/
include/llvm/Analysis/Interval.h
+++ b/
include/llvm/Analysis/Interval.h
@@
-99,6
+99,7
@@
public:
/// print - Show contents in human readable format...
void print(std::ostream &O) const;
+ void print(std::ostream *O) const { if (O) print(*O); }
};
/// succ_begin/succ_end - define methods so that Intervals may be used