Index: src/property.cc |
diff --git a/src/property.cc b/src/property.cc |
index d00998c2564d99e23f06bf0c1a3174d7dd7b68e0..dbe0afc9cab4416ff9f70e8da6d98d04d52d88f9 100644 |
--- a/src/property.cc |
+++ b/src/property.cc |
@@ -51,10 +51,10 @@ struct FastPropertyDetails { |
// Outputs PropertyDetails as a dictionary details. |
std::ostream& operator<<(std::ostream& os, const PropertyDetails& details) { |
os << "("; |
- if (details.location() == IN_DESCRIPTOR) { |
+ if (details.location() == kDescriptor) { |
os << "immutable "; |
} |
- os << (details.kind() == DATA ? "data" : "accessor"); |
+ os << (details.kind() == kData ? "data" : "accessor"); |
return os << ", dictionary_index: " << details.dictionary_index() |
<< ", attrs: " << details.attributes() << ")"; |
} |
@@ -65,11 +65,11 @@ std::ostream& operator<<(std::ostream& os, |
const FastPropertyDetails& details_fast) { |
const PropertyDetails& details = details_fast.details; |
os << "("; |
- if (details.location() == IN_DESCRIPTOR) { |
+ if (details.location() == kDescriptor) { |
os << "immutable "; |
} |
- os << (details.kind() == DATA ? "data" : "accessor"); |
- if (details.location() == IN_OBJECT) { |
+ os << (details.kind() == kData ? "data" : "accessor"); |
+ if (details.location() == kField) { |
os << ": " << details.representation().Mnemonic() |
<< ", field_index: " << details.field_index(); |
} |