From 41e55f245a8b73f3c9778248168da0c9daf36da4 Mon Sep 17 00:00:00 2001 From: "sgjesse@chromium.org" Date: Tue, 20 Jan 2009 13:27:11 +0000 Subject: [PATCH] Added missing property types to debug print. Review URL: http://codereview.chromium.org/18405 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1109 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/objects-debug.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/objects-debug.cc b/src/objects-debug.cc index 6b58f25..0d54195 100644 --- a/src/objects-debug.cc +++ b/src/objects-debug.cc @@ -281,6 +281,10 @@ void JSObject::PrintProperties() { PrintF(" (callback)\n"); } else if (r.type() == MAP_TRANSITION) { PrintF(" (map transition)\n"); + } else if (r.type() == CONSTANT_TRANSITION) { + PrintF(" (constant transition)\n"); + } else if (r.type() == NULL_DESCRIPTOR) { + PrintF(" (null descriptor)\n"); } else { UNREACHABLE(); } -- 2.7.4