Dictionary-mode PropertyDetails printing fixed.
authorishell <ishell@chromium.org>
Mon, 24 Nov 2014 14:55:35 +0000 (06:55 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 24 Nov 2014 14:55:46 +0000 (14:55 +0000)
BUG=chromium:435974
LOG=N

Review URL: https://codereview.chromium.org/755583003

Cr-Commit-Position: refs/heads/master@{#25484}

src/property.cc

index fcc718d..9a2765d 100644 (file)
@@ -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() << ")";
 }