| Index: src/objects-printer.cc
|
| diff --git a/src/objects-printer.cc b/src/objects-printer.cc
|
| index 45018be9a0490c19806c42f87e7b7d4803d92f77..46037ceeb5ac82cd7a5120c8431639525ab723d5 100644
|
| --- a/src/objects-printer.cc
|
| +++ b/src/objects-printer.cc
|
| @@ -7,6 +7,7 @@
|
| #include <iomanip>
|
| #include <memory>
|
|
|
| +#include "src/bootstrapper.h"
|
| #include "src/disasm.h"
|
| #include "src/disassembler.h"
|
| #include "src/interpreter/bytecodes.h"
|
| @@ -1094,7 +1095,9 @@ void SharedFunctionInfo::SharedFunctionInfoPrint(std::ostream& os) { // NOLINT
|
|
|
| void JSGlobalProxy::JSGlobalProxyPrint(std::ostream& os) { // NOLINT
|
| JSObjectPrintHeader(os, this, "JSGlobalProxy");
|
| - os << "\n - native context = " << Brief(native_context());
|
| + if (!GetIsolate()->bootstrapper()->IsActive()) {
|
| + os << "\n - native context = " << Brief(native_context());
|
| + }
|
| os << "\n - hash = " << Brief(hash());
|
| JSObjectPrintBody(os, this);
|
| }
|
| @@ -1102,7 +1105,9 @@ void JSGlobalProxy::JSGlobalProxyPrint(std::ostream& os) { // NOLINT
|
|
|
| void JSGlobalObject::JSGlobalObjectPrint(std::ostream& os) { // NOLINT
|
| JSObjectPrintHeader(os, this, "JSGlobalObject");
|
| - os << "\n - native context = " << Brief(native_context());
|
| + if (!GetIsolate()->bootstrapper()->IsActive()) {
|
| + os << "\n - native context = " << Brief(native_context());
|
| + }
|
| os << "\n - global proxy = " << Brief(global_proxy());
|
| JSObjectPrintBody(os, this);
|
| }
|
|
|