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

Unified Diff: src/property-details.h

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-details.h
diff --git a/src/property-details.h b/src/property-details.h
index 6140e0d4bb5003ce16cbe19aca09a1c4866800ae..eba6b0dde9405c0fcd8f05af48dfc01b78ac5f1e 100644
--- a/src/property-details.h
+++ b/src/property-details.h
@@ -48,17 +48,17 @@ enum PropertyKind { DATA = 0, ACCESSOR = 1 };
// Order of modes is significant.
// Must fit in the BitField PropertyDetails::StoreModeField.
-enum PropertyLocation { IN_OBJECT = 0, IN_DESCRIPTOR = 1 };
+enum PropertyLocation { FIELD = 0, DESCRIPTOR = 1 };
// Order of properties is significant.
// Must fit in the BitField PropertyDetails::TypeField.
// A copy of this is in mirror-debugger.js.
enum PropertyType {
- FIELD = (IN_OBJECT << 1) | DATA,
- CONSTANT = (IN_DESCRIPTOR << 1) | DATA,
- ACCESSOR_FIELD = (IN_OBJECT << 1) | ACCESSOR,
- CALLBACKS = (IN_DESCRIPTOR << 1) | ACCESSOR
+ DATA_FIELD = (FIELD << 1) | DATA,
+ DATA_CONSTANT = (DESCRIPTOR << 1) | DATA,
+ ACCESSOR_FIELD = (FIELD << 1) | ACCESSOR,
+ ACCESSOR_CONSTANT = (DESCRIPTOR << 1) | ACCESSOR
};
« src/mirror-debugger.js ('K') | « src/property.cc ('k') | src/runtime/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698