From: ishell Date: Mon, 24 Nov 2014 14:55:35 +0000 (-0800) Subject: Dictionary-mode PropertyDetails printing fixed. X-Git-Tag: upstream/4.7.83~5556 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d8a561680995d3b510b9af57c42b742a020c5af3;p=platform%2Fupstream%2Fv8.git Dictionary-mode PropertyDetails printing fixed. BUG=chromium:435974 LOG=N Review URL: https://codereview.chromium.org/755583003 Cr-Commit-Position: refs/heads/master@{#25484} --- 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() << ")"; }