aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PIC16/PIC16ConstantPoolValue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/PIC16/PIC16ConstantPoolValue.cpp')
-rw-r--r--lib/Target/PIC16/PIC16ConstantPoolValue.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/PIC16/PIC16ConstantPoolValue.cpp b/lib/Target/PIC16/PIC16ConstantPoolValue.cpp
index 6e324f9e4d..152c7377ab 100644
--- a/lib/Target/PIC16/PIC16ConstantPoolValue.cpp
+++ b/lib/Target/PIC16/PIC16ConstantPoolValue.cpp
@@ -15,6 +15,7 @@
#include "llvm/ADT/FoldingSet.h"
#include "llvm/GlobalValue.h"
#include "llvm/Type.h"
+#include "llvm/Support/raw_ostream.h"
using namespace llvm;
PIC16ConstantPoolValue::PIC16ConstantPoolValue(GlobalValue *gv, unsigned id,
@@ -70,7 +71,7 @@ PIC16ConstantPoolValue::AddSelectionDAGCSEId(FoldingSetNodeID &ID) {
ID.AddInteger(PCAdjust);
}
-void PIC16ConstantPoolValue::print(std::ostream &O) const {
+void PIC16ConstantPoolValue::print(raw_ostream &O) const {
if (GV)
O << GV->getName();
else