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

Unified Diff: src/compiler/x64/instruction-selector-x64-unittest.cc

Issue 618643002: Replace OStream with std::ostream. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix Created 6 years, 3 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/compiler/simplified-operator-unittest.cc ('k') | src/deoptimizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/x64/instruction-selector-x64-unittest.cc
diff --git a/src/compiler/x64/instruction-selector-x64-unittest.cc b/src/compiler/x64/instruction-selector-x64-unittest.cc
index cc2fedb3fcf3707acc20f54f02fac34145a69864..fce4da9225b51ff6b1772b53ed0a77ac057d53a3 100644
--- a/src/compiler/x64/instruction-selector-x64-unittest.cc
+++ b/src/compiler/x64/instruction-selector-x64-unittest.cc
@@ -108,9 +108,7 @@ struct MemoryAccess {
std::ostream& operator<<(std::ostream& os, const MemoryAccess& memacc) {
- OStringStream ost;
- ost << memacc.type;
- return os << ost.c_str();
+ return os << memacc.type;
}
@@ -303,9 +301,7 @@ struct MultParam {
std::ostream& operator<<(std::ostream& os, const MultParam& m) {
- OStringStream ost;
- ost << m.value << "." << m.lea_expected << "." << m.addressing_mode;
- return os << ost.c_str();
+ return os << m.value << "." << m.lea_expected << "." << m.addressing_mode;
}
« no previous file with comments | « src/compiler/simplified-operator-unittest.cc ('k') | src/deoptimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698