| Index: src/objects-printer.cc
|
| diff --git a/src/objects-printer.cc b/src/objects-printer.cc
|
| index 9ea060f5ed81f7abcba5a7617de45490ae59480d..dd6cd2c4ed72de35599033850307c80e11fba4f9 100644
|
| --- a/src/objects-printer.cc
|
| +++ b/src/objects-printer.cc
|
| @@ -195,6 +195,9 @@ void HeapObject::HeapObjectPrint(FILE* out) {
|
| case SHARED_FUNCTION_INFO_TYPE:
|
| SharedFunctionInfo::cast(this)->SharedFunctionInfoPrint(out);
|
| break;
|
| + case OPTIMIZED_CODE_ENTRY_TYPE:
|
| + OptimizedCodeEntry::cast(this)->OptimizedCodeEntryPrint(out);
|
| + break;
|
| case JS_MESSAGE_OBJECT_TYPE:
|
| JSMessageObject::cast(this)->JSMessageObjectPrint(out);
|
| break;
|
| @@ -890,6 +893,25 @@ void SharedFunctionInfo::SharedFunctionInfoPrint(FILE* out) {
|
| }
|
|
|
|
|
| +void OptimizedCodeEntry::OptimizedCodeEntryPrint(FILE* out) {
|
| + HeapObject::PrintHeader(out, "OptimizedCodeEntry");
|
| + PrintF(out, "\n - native_context = ");
|
| + native_context()->ShortPrint(out);
|
| + PrintF(out, "\n - function = ");
|
| + function()->ShortPrint(out);
|
| + PrintF(out, "\n - code = ");
|
| + code()->ShortPrint(out);
|
| + PrintF(out, "\n - literals = ");
|
| + literals()->ShortPrint(out);
|
| + PrintF(out, "\n - next_by_shared_info = ");
|
| + next_by_shared_info()->ShortPrint(out);
|
| + PrintF(out, "\n - next_by_native_context = ");
|
| + next_by_native_context()->ShortPrint(out);
|
| + PrintF(out, "\n - cacheable = %s", cacheable() ? "true" : "false");
|
| + PrintF(out, "\n");
|
| +}
|
| +
|
| +
|
| void JSGlobalProxy::JSGlobalProxyPrint(FILE* out) {
|
| PrintF(out, "global_proxy ");
|
| JSObjectPrint(out);
|
|
|