Revision: 22269
Author:   [email protected]
Date:     Tue Jul  8 08:43:20 2014 UTC
Log:      Fix build (solve OBJECT_PRINT dependency)

[email protected]

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

Modified:
 /branches/bleeding_edge/src/ic.cc
 /branches/bleeding_edge/src/objects.h

=======================================
--- /branches/bleeding_edge/src/ic.cc   Tue Jul  8 08:28:08 2014 UTC
+++ /branches/bleeding_edge/src/ic.cc   Tue Jul  8 08:43:20 2014 UTC
@@ -94,8 +94,12 @@
            TransitionMarkFromState(state()),
            TransitionMarkFromState(new_state),
            modifier);
+#ifdef OBJECT_PRINT
     OFStream os(stdout);
     name->Print(os);
+#else
+    name->ShortPrint(stdout);
+#endif
     PrintF("]\n");
   }
 }
=======================================
--- /branches/bleeding_edge/src/objects.h       Mon Jul  7 13:27:37 2014 UTC
+++ /branches/bleeding_edge/src/objects.h       Tue Jul  8 08:43:20 2014 UTC
@@ -1557,15 +1557,15 @@
   // Prints this object without details to a message accumulator.
   void ShortPrint(StringStream* accumulator);

-  // For our gdb macros, we should perhaps change these in the future.
-  void Print();
-
   DECLARE_CAST(Object)

   // Layout description.
   static const int kHeaderSize = 0;  // Object does not take up any space.

 #ifdef OBJECT_PRINT
+  // For our gdb macros, we should perhaps change these in the future.
+  void Print();
+
   // Prints this object with details.
   void Print(OStream& os);  // NOLINT
 #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