Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index d24451898061e709b49fe888e804404b48a5208b..3e6c8d321cdf2b8e8a8bbde9266760bfb0d573b6 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -5234,11 +5234,14 @@ class Code: public HeapObject { |
static const int kPrologueOffsetNotSet = -1; |
-#ifdef ENABLE_DISASSEMBLER |
+#if defined(OBJECT_PRINT) || defined(ENABLE_DISASSEMBLER) |
// Printing |
static const char* ICState2String(InlineCacheState state); |
static void PrintExtraICState(std::ostream& os, // NOLINT |
Kind kind, ExtraICState extra); |
+#endif // defined(OBJECT_PRINT) || defined(ENABLE_DISASSEMBLER) |
+ |
+#ifdef ENABLE_DISASSEMBLER |
void Disassemble(const char* name, std::ostream& os); // NOLINT |
#endif // ENABLE_DISASSEMBLER |