Bug fixes for PR341

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14838 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2004-07-15 01:29:12 +00:00
parent dd68469382
commit ce36d55cf8
5 changed files with 39 additions and 11 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...