| Index: src/ic.h
|
| diff --git a/src/ic.h b/src/ic.h
|
| index 3f550438a487849c8931dc6d87f7b51d8b125405..f2a792bc5613d42d01b75dc339a6912c91e97611 100644
|
| --- a/src/ic.h
|
| +++ b/src/ic.h
|
| @@ -398,6 +398,15 @@ class LoadIC: public IC {
|
| class ContextualModeBits: public BitField<ContextualMode, 0, 1> {};
|
| STATIC_ASSERT(static_cast<int>(NOT_CONTEXTUAL) == 0);
|
|
|
| + enum RegisterInfo {
|
| + kReceiverIndex,
|
| + kNameIndex,
|
| + kRegisterArgumentCount
|
| + };
|
| + static Register kReceiverRegister;
|
| + static Register kNameRegister;
|
| + static const Register registers[kRegisterArgumentCount];
|
| +
|
| static ExtraICState ComputeExtraICState(ContextualMode contextual_mode) {
|
| return ContextualModeBits::encode(contextual_mode);
|
| }
|
| @@ -498,6 +507,10 @@ class KeyedLoadIC: public LoadIC {
|
| ASSERT(target()->is_keyed_load_stub());
|
| }
|
|
|
| + static const Register registers[kRegisterArgumentCount];
|
| + static Register kReceiverRegister;
|
| + static Register kNameRegister;
|
| +
|
| MUST_USE_RESULT MaybeHandle<Object> Load(Handle<Object> object,
|
| Handle<Object> key);
|
|
|
|
|