Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 13688c780792c7f723c2d2767df7be7b704c2703..73f67124eddb665aa3f0b5b3e05b2a4e296eb1b6 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -10948,6 +10948,17 @@ void Code::Disassemble(const char* name, OStream& os) { // NOLINT |
it.rinfo()->Print(GetIsolate(), os); |
} |
os << "\n"; |
+ |
+#ifdef OBJECT_PRINT |
+ if (FLAG_enable_ool_constant_pool) { |
+ ConstantPoolArray* pool = constant_pool(); |
+ if (pool->length()) { |
+ os << "Constant Pool\n"; |
+ pool->Print(os); |
+ os << "\n"; |
+ } |
+ } |
+#endif |
} |
#endif // ENABLE_DISASSEMBLER |