Index: src/transitions.h |
diff --git a/src/transitions.h b/src/transitions.h |
index 6e979ed7a50286ba9d0084e00b6bc02b88212b36..c6ed2233906bf4a23455b3a2ab2ec67f151cf312 100644 |
--- a/src/transitions.h |
+++ b/src/transitions.h |
@@ -155,13 +155,15 @@ class TransitionArray: public FixedArray { |
static const int kTransitionTarget = 1; |
static const int kTransitionSize = 2; |
-#ifdef DEBUG |
+#if defined(DEBUG) || defined(OBJECT_PRINT) |
// For our gdb macros, we should perhaps change these in the future. |
void Print(); |
// Print all the transitions. |
void PrintTransitions(std::ostream& os, bool print_header = true); // NOLINT |
+#endif |
+#ifdef DEBUG |
bool IsSortedNoDuplicates(int valid_entries = -1); |
bool IsConsistentWithBackPointers(Map* current_map); |
bool IsEqualTo(TransitionArray* other); |