Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1088)

Unified Diff: src/property.cc

Issue 856503002: Massive renaming of PropertyType values and other implied stuff. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/property.cc
diff --git a/src/property.cc b/src/property.cc
index d00998c2564d99e23f06bf0c1a3174d7dd7b68e0..de698822bf97938b1271350f891d31535e162189 100644
--- a/src/property.cc
+++ b/src/property.cc
@@ -51,7 +51,7 @@ 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() == DESCRIPTOR) {
os << "immutable ";
}
os << (details.kind() == DATA ? "data" : "accessor");
@@ -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() == DESCRIPTOR) {
os << "immutable ";
}
os << (details.kind() == DATA ? "data" : "accessor");
- if (details.location() == IN_OBJECT) {
+ if (details.location() == FIELD) {
os << ": " << details.representation().Mnemonic()
<< ", field_index: " << details.field_index();
}
« src/mirror-debugger.js ('K') | « src/property.h ('k') | src/property-details.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698