| Index: src/v8globals.h
|
| diff --git a/src/v8globals.h b/src/v8globals.h
|
| index 3a29a64453aa70baf3df85f68babce4cdf51b8f3..03351771948b2f297f1a25bbbd7247ac0ac89fc4 100644
|
| --- a/src/v8globals.h
|
| +++ b/src/v8globals.h
|
| @@ -324,49 +324,6 @@ typedef void (*StoreBufferCallback)(Heap* heap,
|
| StoreBufferEvent event);
|
|
|
|
|
| -// Type of properties.
|
| -// Order of properties is significant.
|
| -// Must fit in the BitField PropertyDetails::TypeField.
|
| -// A copy of this is in mirror-debugger.js.
|
| -enum PropertyType {
|
| - NORMAL = 0, // only in slow mode
|
| - FIELD = 1, // only in fast mode
|
| - CONSTANT_FUNCTION = 2, // only in fast mode
|
| - CALLBACKS = 3,
|
| - HANDLER = 4, // only in lookup results, not in descriptors
|
| - INTERCEPTOR = 5, // only in lookup results, not in descriptors
|
| - MAP_TRANSITION = 6, // only in fast mode
|
| - ELEMENTS_TRANSITION = 7,
|
| - CONSTANT_TRANSITION = 8, // only in fast mode
|
| - NULL_DESCRIPTOR = 9, // only in fast mode
|
| - // All properties before MAP_TRANSITION are real.
|
| - FIRST_PHANTOM_PROPERTY_TYPE = MAP_TRANSITION,
|
| - // There are no IC stubs for NULL_DESCRIPTORS. Therefore,
|
| - // NULL_DESCRIPTOR can be used as the type flag for IC stubs for
|
| - // nonexistent properties.
|
| - NONEXISTENT = NULL_DESCRIPTOR
|
| -};
|
| -
|
| -
|
| -inline bool IsTransitionType(PropertyType type) {
|
| - switch (type) {
|
| - case MAP_TRANSITION:
|
| - case CONSTANT_TRANSITION:
|
| - case ELEMENTS_TRANSITION:
|
| - return true;
|
| - case NORMAL:
|
| - case FIELD:
|
| - case CONSTANT_FUNCTION:
|
| - case CALLBACKS:
|
| - case HANDLER:
|
| - case INTERCEPTOR:
|
| - case NULL_DESCRIPTOR:
|
| - return false;
|
| - }
|
| - UNREACHABLE(); // keep the compiler happy
|
| - return false;
|
| -}
|
| -
|
| // Whether to remove map transitions and constant transitions from a
|
| // DescriptorArray.
|
| enum TransitionFlag {
|
|
|