Revision: 20496
Author:   [email protected]
Date:     Fri Apr  4 07:21:59 2014 UTC
Log:      TypePrint() does not depend on Object::Print().

[email protected]

Review URL: https://codereview.chromium.org/225353004
http://code.google.com/p/v8/source/detail?r=20496

Modified:
 /branches/bleeding_edge/src/types.cc
 /branches/bleeding_edge/src/types.h

=======================================
--- /branches/bleeding_edge/src/types.cc        Wed Apr  2 07:01:43 2014 UTC
+++ /branches/bleeding_edge/src/types.cc        Fri Apr  4 07:21:59 2014 UTC
@@ -568,7 +568,6 @@
 }


-#ifdef OBJECT_PRINT
 template<class Config>
 void TypeImpl<Config>::TypePrint(PrintDimension dim) {
   TypePrint(stdout, dim);
@@ -666,7 +665,6 @@
     PrintF(out, ")");
   }
 }
-#endif


 template class TypeImpl<ZoneTypeConfig>;
=======================================
--- /branches/bleeding_edge/src/types.h Wed Apr  2 07:01:43 2014 UTC
+++ /branches/bleeding_edge/src/types.h Fri Apr  4 07:21:59 2014 UTC
@@ -293,11 +293,9 @@
   static TypeHandle Convert(
       typename OtherTypeImpl::TypeHandle type, Region* region);

-#ifdef OBJECT_PRINT
   enum PrintDimension { BOTH_DIMS, SEMANTIC_DIM, REPRESENTATION_DIM };
   void TypePrint(PrintDimension = BOTH_DIMS);
   void TypePrint(FILE* out, PrintDimension = BOTH_DIMS);
-#endif

  private:
   template<class> friend class Iterator;
@@ -349,10 +347,8 @@
   static int ExtendIntersection(
UnionedHandle unioned, TypeHandle t, TypeHandle other, int current_size);

-#ifdef OBJECT_PRINT
   static const char* bitset_name(int bitset);
   static void BitsetTypePrint(FILE* out, int bitset);
-#endif
 };


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to