Chromium Code Reviews| Index: src/objects.cc |
| diff --git a/src/objects.cc b/src/objects.cc |
| index f6ec456bd4ddebf0349bf77a6b235aae48c3d784..9f25145bf2c197048ee858906c251158c8e8570e 100644 |
| --- a/src/objects.cc |
| +++ b/src/objects.cc |
| @@ -10966,6 +10966,17 @@ void Code::Disassemble(const char* name, std::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 |