* Do not refer to ActualCallees in CBU, when we can do it locally.
[oota-llvm.git] / lib / Analysis / ConstantRange.cpp
index cb4be83bbd1c89a240601125931b7a8cb8001e09..3b91c5bc7a06175bc4dc0036da0379964f997d3b 100644 (file)
@@ -25,6 +25,8 @@
 #include "llvm/Constants.h"
 #include "llvm/Instruction.h"
 #include "llvm/Type.h"
+#include <iostream>
+
 using namespace llvm;
 
 static ConstantIntegral *Next(ConstantIntegral *CI) {
@@ -320,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...