summaryrefslogtreecommitdiff
path: root/lib/Analysis/ConstantRange.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-07-15 01:29:12 +0000
committerChris Lattner <sabre@nondot.org>2004-07-15 01:29:12 +0000
commitce36d55cf8d3239942e0e9c426c835f0c33a11e6 (patch)
tree12f0e38b5d9bbd9e755f4f77a97e82adabd72a88 /lib/Analysis/ConstantRange.cpp
parentdd68469382cafff2051289707ea2d3e0d26919b1 (diff)
Bug fixes for PR341
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14838 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ConstantRange.cpp')
-rw-r--r--lib/Analysis/ConstantRange.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/ConstantRange.cpp b/lib/Analysis/ConstantRange.cpp
index 580ca01ac39..3b91c5bc7a0 100644
--- a/lib/Analysis/ConstantRange.cpp
+++ b/lib/Analysis/ConstantRange.cpp
@@ -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...