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

Unified Diff: src/jsregexp.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/ic/ic-state.cc ('k') | src/lithium-codegen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/jsregexp.cc
diff --git a/src/jsregexp.cc b/src/jsregexp.cc
index b528b4aef594bad5ca5fc47dd3b4beb24d10c1f5..a2e866ab2bf901be9ea9de76962ff000ca64f72a 100644
--- a/src/jsregexp.cc
+++ b/src/jsregexp.cc
@@ -4386,7 +4386,7 @@ void BackReferenceNode::Emit(RegExpCompiler* compiler, Trace* trace) {
class DotPrinter: public NodeVisitor {
public:
- DotPrinter(OStream& os, bool ignore_case) // NOLINT
+ DotPrinter(std::ostream& os, bool ignore_case) // NOLINT
: os_(os),
ignore_case_(ignore_case) {}
void PrintNode(const char* label, RegExpNode* node);
@@ -4398,7 +4398,7 @@ class DotPrinter: public NodeVisitor {
FOR_EACH_NODE_TYPE(DECLARE_VISIT)
#undef DECLARE_VISIT
private:
- OStream& os_;
+ std::ostream& os_;
bool ignore_case_;
};
@@ -4420,7 +4420,7 @@ void DotPrinter::PrintNode(const char* label, RegExpNode* node) {
}
os_ << "\"];\n";
Visit(node);
- os_ << "}" << endl;
+ os_ << "}" << std::endl;
}
@@ -4439,7 +4439,7 @@ void DotPrinter::PrintOnFailure(RegExpNode* from, RegExpNode* on_failure) {
class TableEntryBodyPrinter {
public:
- TableEntryBodyPrinter(OStream& os, ChoiceNode* choice) // NOLINT
+ TableEntryBodyPrinter(std::ostream& os, ChoiceNode* choice) // NOLINT
: os_(os),
choice_(choice) {}
void Call(uc16 from, DispatchTable::Entry entry) {
@@ -4453,14 +4453,14 @@ class TableEntryBodyPrinter {
}
private:
ChoiceNode* choice() { return choice_; }
- OStream& os_;
+ std::ostream& os_;
ChoiceNode* choice_;
};
class TableEntryHeaderPrinter {
public:
- explicit TableEntryHeaderPrinter(OStream& os) // NOLINT
+ explicit TableEntryHeaderPrinter(std::ostream& os) // NOLINT
: first_(true),
os_(os) {}
void Call(uc16 from, DispatchTable::Entry entry) {
@@ -4484,13 +4484,13 @@ class TableEntryHeaderPrinter {
private:
bool first_;
- OStream& os_;
+ std::ostream& os_;
};
class AttributePrinter {
public:
- explicit AttributePrinter(OStream& os) // NOLINT
+ explicit AttributePrinter(std::ostream& os) // NOLINT
: os_(os),
first_(true) {}
void PrintSeparator() {
@@ -4512,7 +4512,7 @@ class AttributePrinter {
}
private:
- OStream& os_;
+ std::ostream& os_;
bool first_;
};
@@ -4681,10 +4681,10 @@ void DotPrinter::VisitAction(ActionNode* that) {
class DispatchTableDumper {
public:
- explicit DispatchTableDumper(OStream& os) : os_(os) {}
+ explicit DispatchTableDumper(std::ostream& os) : os_(os) {}
void Call(uc16 key, DispatchTable::Entry entry);
private:
- OStream& os_;
+ std::ostream& os_;
};
« no previous file with comments | « src/ic/ic-state.cc ('k') | src/lithium-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698