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

Unified Diff: src/IceGlobalContext.cpp

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/IceGlobalContext.h ('k') | src/IceTargetLoweringX8632.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceGlobalContext.cpp
diff --git a/src/IceGlobalContext.cpp b/src/IceGlobalContext.cpp
index a7b1b64c2951f8780f7ad8304129539109f136e4..113ffc49ca5837a5273ef1b26246ab3d093ac296 100644
--- a/src/IceGlobalContext.cpp
+++ b/src/IceGlobalContext.cpp
@@ -330,8 +330,7 @@ Constant *GlobalContext::getConstantZero(Type Ty) {
case IceType_v4f32: {
IceString Str;
llvm::raw_string_ostream BaseOS(Str);
- Ostream OS(&BaseOS);
- OS << "Unsupported constant type: " << Ty;
+ BaseOS << "Unsupported constant type: " << Ty;
llvm_unreachable(BaseOS.str().c_str());
} break;
case IceType_void:
@@ -362,8 +361,7 @@ ConstantList GlobalContext::getConstantPool(Type Ty) const {
case IceType_v4f32: {
IceString Str;
llvm::raw_string_ostream BaseOS(Str);
- Ostream OS(&BaseOS);
- OS << "Unsupported constant type: " << Ty;
+ BaseOS << "Unsupported constant type: " << Ty;
llvm_unreachable(BaseOS.str().c_str());
} break;
case IceType_void:
« no previous file with comments | « src/IceGlobalContext.h ('k') | src/IceTargetLoweringX8632.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698