| Index: src/ic/handler-configuration-inl.h
|
| diff --git a/src/ic/handler-configuration-inl.h b/src/ic/handler-configuration-inl.h
|
| index b7334a7c030f74c9aae490d0cf1fbd423eed2490..ca67257abe02ba5afb55309caccfd88ec71b70a1 100644
|
| --- a/src/ic/handler-configuration-inl.h
|
| +++ b/src/ic/handler-configuration-inl.h
|
| @@ -24,6 +24,15 @@ Handle<Object> LoadHandler::LoadField(Isolate* isolate,
|
|
|
| Handle<Object> LoadHandler::LoadConstant(Isolate* isolate, int descriptor) {
|
| int config = KindBits::encode(kForConstants) |
|
| + IsAccessorInfoBits::encode(false) |
|
| + DescriptorValueIndexBits::encode(
|
| + DescriptorArray::ToValueIndex(descriptor));
|
| + return handle(Smi::FromInt(config), isolate);
|
| +}
|
| +
|
| +Handle<Object> LoadHandler::LoadApiGetter(Isolate* isolate, int descriptor) {
|
| + int config = KindBits::encode(kForConstants) |
|
| + IsAccessorInfoBits::encode(true) |
|
| DescriptorValueIndexBits::encode(
|
| DescriptorArray::ToValueIndex(descriptor));
|
| return handle(Smi::FromInt(config), isolate);
|
|
|