Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 4848fad8bddd54ca30e8fa0be3cb95176d14c7e9..bebd875372ebbdec6a351c7d61014984c57e6318 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -5112,7 +5112,6 @@ ACCESSORS(Box, value, Object, kValueOffset) |
ACCESSORS(AccessorPair, getter, Object, kGetterOffset) |
ACCESSORS(AccessorPair, setter, Object, kSetterOffset) |
-ACCESSORS_TO_SMI(AccessorPair, access_flags, kAccessFlagsOffset) |
ACCESSORS(AccessCheckInfo, named_callback, Object, kNamedCallbackOffset) |
ACCESSORS(AccessCheckInfo, indexed_callback, Object, kIndexedCallbackOffset) |
@@ -6553,28 +6552,6 @@ void ExecutableAccessorInfo::clear_setter() { |
} |
-void AccessorPair::set_access_flags(v8::AccessControl access_control) { |
- int current = access_flags()->value(); |
- current = BooleanBit::set(current, |
- kAllCanReadBit, |
- access_control & ALL_CAN_READ); |
- current = BooleanBit::set(current, |
- kAllCanWriteBit, |
- access_control & ALL_CAN_WRITE); |
- set_access_flags(Smi::FromInt(current)); |
-} |
- |
- |
-bool AccessorPair::all_can_read() { |
- return BooleanBit::get(access_flags(), kAllCanReadBit); |
-} |
- |
- |
-bool AccessorPair::all_can_write() { |
- return BooleanBit::get(access_flags(), kAllCanWriteBit); |
-} |
- |
- |
template<typename Derived, typename Shape, typename Key> |
void Dictionary<Derived, Shape, Key>::SetEntry(int entry, |
Handle<Object> key, |