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

Unified Diff: src/types.h

Issue 435403002: Add convenience method to print types for debugging. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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 | « no previous file | src/types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/types.h
diff --git a/src/types.h b/src/types.h
index 98b9e014c7988bb4c0f6f3db34d21fe4389698bc..f5a263abb686e9e720a1afe23a0946b2fa7b7739 100644
--- a/src/types.h
+++ b/src/types.h
@@ -431,6 +431,10 @@ class TypeImpl : public Config::Base {
void PrintTo(OStream& os, PrintDimension dim = BOTH_DIMS); // NOLINT
+#ifdef DEBUG
+ void Print();
+#endif
+
protected:
// Friends.
« no previous file with comments | « no previous file | src/types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698