From d8a561680995d3b510b9af57c42b742a020c5af3 Mon Sep 17 00:00:00 2001 From: ishell Date: Mon, 24 Nov 2014 06:55:35 -0800 Subject: [PATCH] Dictionary-mode PropertyDetails printing fixed. BUG=chromium:435974 LOG=N Review URL: https://codereview.chromium.org/755583003 Cr-Commit-Position: refs/heads/master@{#25484} --- src/property.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/property.cc b/src/property.cc index fcc718d..9a2765d 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() << ")"; } -- 2.7.4