Reviewers: Toon Verwaest,

Message:
PTAL

Description:
Dictionary-mode PropertyDetails printing fixed.

Please review this at https://codereview.chromium.org/755583003/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+4, -4 lines):
  M src/property.cc


Index: src/property.cc
diff --git a/src/property.cc b/src/property.cc
index fcc718dfe75e40adee4f22ec5bfec49a270a5342..9a2765dd6b02e66e758619512d9e44fe1b12f408 100644
--- a/src/property.cc
+++ b/src/property.cc
@@ -55,14 +55,14 @@ std::ostream& operator<<(std::ostream& os, const PropertyDetails& details) {
     case FIELD:
       os << "normal: ";
       break;
-    case CONSTANT:
-      os << "constant: ";
-      break;
     case CALLBACKS:
+      os << "callbacks: ";
+      break;
+    case CONSTANT:
       UNREACHABLE();
       break;
   }
-  return os << " dictionary_index: " << details.dictionary_index()
+  return os << "dictionary_index: " << details.dictionary_index()
             << ", attrs: " << details.attributes() << ")";
 }



--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to