| Index: src/objects-printer.cc
|
| diff --git a/src/objects-printer.cc b/src/objects-printer.cc
|
| index e86059b7198631ce25d32437c35cd9cc9b64155c..a497cf8544353ea9c6c3e6498d4a51a66eb03ff3 100644
|
| --- a/src/objects-printer.cc
|
| +++ b/src/objects-printer.cc
|
| @@ -8,6 +8,7 @@
|
| #include "src/disassembler.h"
|
| #include "src/jsregexp.h"
|
| #include "src/objects-visiting.h"
|
| +#include "src/prototype-iterator.h"
|
|
|
| namespace v8 {
|
| namespace internal {
|
| @@ -422,7 +423,7 @@ void JSObject::JSObjectPrint(FILE* out) {
|
| PrintElementsKind(out, this->map()->elements_kind());
|
| PrintF(out,
|
| "]\n - prototype = %p\n",
|
| - reinterpret_cast<void*>(GetPrototype()));
|
| + reinterpret_cast<void*>(SAFE_GET_PROTOTYPE_FAST(this)));
|
| PrintF(out, " {\n");
|
| PrintProperties(out);
|
| PrintTransitions(out);
|
|
|