| Index: src/stub-cache.h
|
| diff --git a/src/stub-cache.h b/src/stub-cache.h
|
| index c1fffc6a7bddd6f012c3034f46cd4f6b85c03339..a455a4e853eefea77c7d45abd24c8d6424ddacd5 100644
|
| --- a/src/stub-cache.h
|
| +++ b/src/stub-cache.h
|
| @@ -168,10 +168,9 @@ class StubCache {
|
| Handle<Map> transition,
|
| StrictModeFlag strict_mode);
|
|
|
| - MUST_USE_RESULT MaybeObject* ComputeKeyedLoadOrStoreElement(
|
| - JSObject* receiver,
|
| - KeyedIC::StubKind stub_kind,
|
| - StrictModeFlag strict_mode);
|
| + Handle<Code> ComputeKeyedLoadOrStoreElement(Handle<JSObject> receiver,
|
| + KeyedIC::StubKind stub_kind,
|
| + StrictModeFlag strict_mode);
|
|
|
| // ---
|
|
|
| @@ -686,8 +685,13 @@ class KeyedLoadStubCompiler: public StubCompiler {
|
|
|
| MUST_USE_RESULT MaybeObject* CompileLoadFunctionPrototype(String* name);
|
|
|
| + Handle<Code> CompileLoadElement(Handle<Map> receiver_map);
|
| +
|
| MUST_USE_RESULT MaybeObject* CompileLoadElement(Map* receiver_map);
|
|
|
| + Handle<Code> CompileLoadPolymorphic(MapHandleList* receiver_maps,
|
| + CodeHandleList* handler_ics);
|
| +
|
| MUST_USE_RESULT MaybeObject* CompileLoadPolymorphic(
|
| MapList* receiver_maps,
|
| CodeList* handler_ics);
|
| @@ -768,8 +772,14 @@ class KeyedStoreStubCompiler: public StubCompiler {
|
| Map* transition,
|
| String* name);
|
|
|
| + Handle<Code> CompileStoreElement(Handle<Map> receiver_map);
|
| +
|
| MUST_USE_RESULT MaybeObject* CompileStoreElement(Map* receiver_map);
|
|
|
| + Handle<Code> CompileStorePolymorphic(MapHandleList* receiver_maps,
|
| + CodeHandleList* handler_stubs,
|
| + MapHandleList* transitioned_maps);
|
| +
|
| MUST_USE_RESULT MaybeObject* CompileStorePolymorphic(
|
| MapList* receiver_maps,
|
| CodeList* handler_stubs,
|
|
|