Bug fixes for PR341

llvm-svn: 14838
This commit is contained in:
Chris Lattner
2004-07-15 01:29:12 +00:00
parent 4bbd409749
commit cae777bb4f
2 changed files with 19 additions and 5 deletions

View File

@@ -322,7 +322,7 @@ ConstantRange ConstantRange::truncate(const Type *Ty) const {
/// print - Print out the bounds to a stream...
///
void ConstantRange::print(std::ostream &OS) const {
OS << "[" << Lower << "," << Upper << " )";
OS << "[" << *Lower << "," << *Upper << " )";
}
/// dump - Allow printing from a debugger easily...