Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(612)

Unified Diff: src/objects-printer.cc

Issue 348313002: Introduce a PrototypeIterator template and use it all over the place (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebase Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/objects-inl.h ('k') | src/prototype-iterator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « src/objects-inl.h ('k') | src/prototype-iterator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698