Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: src/IceGlobalContext.h

Issue 413393005: Subzero: Make Ice::Ostream a typedef for llvm::raw_ostream. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/IceDefs.h ('k') | src/IceGlobalContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « src/IceDefs.h ('k') | src/IceGlobalContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698