Index: src/IceGlobalContext.h |
diff --git a/src/IceGlobalContext.h b/src/IceGlobalContext.h |
index 1a3e4cd38dc598cb48df0c2c5febf919dfee680d..e1b67ac555fd54b043234d6ff2bf7d0b63ee28ae 100644 |
--- a/src/IceGlobalContext.h |
+++ b/src/IceGlobalContext.h |
@@ -47,8 +47,8 @@ public: |
void addVerbose(VerboseMask Mask) { VMask |= Mask; } |
void subVerbose(VerboseMask Mask) { VMask &= ~Mask; } |
- Ostream &getStrDump() { return StrDump; } |
- Ostream &getStrEmit() { return StrEmit; } |
+ Ostream &getStrDump() { return *StrDump; } |
+ Ostream &getStrEmit() { return *StrEmit; } |
TargetArch getTargetArch() const { return Arch; } |
OptLevel getOptLevel() const { return Opt; } |
@@ -92,8 +92,8 @@ public: |
const Intrinsics &getIntrinsicsInfo() const { return IntrinsicsInfo; } |
private: |
- Ostream StrDump; // Stream for dumping / diagnostics |
- Ostream StrEmit; // Stream for code emission |
+ Ostream *StrDump; // Stream for dumping / diagnostics |
+ Ostream *StrEmit; // Stream for code emission |
llvm::BumpPtrAllocator Allocator; |
VerboseMask VMask; |