| Index: src/ic/handler-configuration.h
|
| diff --git a/src/ic/handler-configuration.h b/src/ic/handler-configuration.h
|
| index 7ffe192c1af673486da517324f7f888eb19d3a03..b4887e33bac3243968a2c58a9ae92a167d6e2144 100644
|
| --- a/src/ic/handler-configuration.h
|
| +++ b/src/ic/handler-configuration.h
|
| @@ -35,9 +35,11 @@ class LoadHandler {
|
| // Encoding when KindBits contains kForConstants.
|
| //
|
|
|
| + class IsAccessorInfoBits
|
| + : public BitField<bool, DoNegativeLookupOnReceiverBits::kNext, 1> {};
|
| // +2 here is because each descriptor entry occupies 3 slots in array.
|
| class DescriptorValueIndexBits
|
| - : public BitField<unsigned, DoNegativeLookupOnReceiverBits::kNext,
|
| + : public BitField<unsigned, IsAccessorInfoBits::kNext,
|
| kDescriptorIndexBitCount + 2> {};
|
| // Make sure we don't overflow the smi.
|
| STATIC_ASSERT(DescriptorValueIndexBits::kNext <= kSmiValueSize);
|
| @@ -87,6 +89,9 @@ class LoadHandler {
|
| // Creates a Smi-handler for loading a constant from fast object.
|
| static inline Handle<Object> LoadConstant(Isolate* isolate, int descriptor);
|
|
|
| + // Creates a Smi-handler for loading an Api getter property from fast object.
|
| + static inline Handle<Object> LoadApiGetter(Isolate* isolate, int descriptor);
|
| +
|
| // Sets DoAccessCheckOnReceiverBits in given Smi-handler. The receiver
|
| // check is a part of a prototype chain check.
|
| static inline Handle<Object> EnableAccessCheckOnReceiver(
|
|
|