Index: src/deoptimizer.h |
diff --git a/src/deoptimizer.h b/src/deoptimizer.h |
index 7c5dfb8799c2907228517eeffab804ba87faaeae..91030e2d87f08e6acbdefb3d3ebc2fa30f1164fc 100644 |
--- a/src/deoptimizer.h |
+++ b/src/deoptimizer.h |
@@ -495,7 +495,7 @@ class Translation BASE_EMBEDDED { |
static int NumberOfOperandsFor(Opcode opcode); |
-#ifdef OBJECT_PRINT |
+#if defined(OBJECT_PRINT) || defined(ENABLE_DISASSEMBLER) |
static const char* StringFor(Opcode opcode); |
#endif |