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

Unified Diff: src/hydrogen.h

Issue 363323003: More OStreamsUse OStreams more often. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased and polished. 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/heap.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen.h
diff --git a/src/hydrogen.h b/src/hydrogen.h
index 84d69ca755259acea6972630ef04c91ecf54dc4c..561d7848fb980be3834ccc1772f366270bcfbd12 100644
--- a/src/hydrogen.h
+++ b/src/hydrogen.h
@@ -214,6 +214,9 @@ class HBasicBlock V8_FINAL : public ZoneObject {
};
+OStream& operator<<(OStream& os, const HBasicBlock& b);
+
+
class HPredecessorIterator V8_FINAL BASE_EMBEDDED {
public:
explicit HPredecessorIterator(HBasicBlock* block)
@@ -698,9 +701,6 @@ class HEnvironment V8_FINAL : public ZoneObject {
return i >= parameter_count() && i < parameter_count() + specials_count();
}
- void PrintTo(StringStream* stream);
- void PrintToStd();
-
Zone* zone() const { return zone_; }
private:
@@ -742,6 +742,9 @@ class HEnvironment V8_FINAL : public ZoneObject {
};
+OStream& operator<<(OStream& os, const HEnvironment& env);
+
+
class HOptimizedGraphBuilder;
enum ArgumentsAllowedFlag {
« no previous file with comments | « src/heap.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698