Index: src/stub-cache.h |
diff --git a/src/stub-cache.h b/src/stub-cache.h |
index 16028d8ba5743a4b7d27bf741c8b4acac7b1c303..fa8c5a872df5dbf042b51d256c73229920da5007 100644 |
--- a/src/stub-cache.h |
+++ b/src/stub-cache.h |
@@ -104,23 +104,10 @@ class StubCache { |
Code::StubType type, |
StrictModeFlag strict_mode); |
- Handle<Code> ComputeMonomorphicLoadIC(Handle<HeapObject> receiver, |
- Handle<Code> handler, |
- Handle<Name> name); |
- |
- Handle<Code> ComputeMonomorphicKeyedLoadIC(Handle<HeapObject> receiver, |
- Handle<Code> handler, |
- Handle<Name> name); |
- |
- Handle<Code> ComputeMonomorphicStoreIC(Handle<HeapObject> receiver, |
- Handle<Code> handler, |
- Handle<Name> name, |
- StrictModeFlag strict_mode); |
- |
- Handle<Code> ComputeMonomorphicKeyedStoreIC(Handle<HeapObject> receiver, |
- Handle<Code> handler, |
- Handle<Name> name, |
- StrictModeFlag strict_mode); |
+ Handle<Code> ComputeMonomorphicIC(Handle<HeapObject> receiver, |
+ Handle<Code> handler, |
+ Handle<Name> name, |
+ StrictModeFlag strict_mode); |
// Computes the right stub matching. Inserts the result in the |
// cache before returning. This might compile a stub if needed. |
@@ -326,16 +313,11 @@ class StubCache { |
KeyedAccessStoreMode store_mode, |
StrictModeFlag strict_mode); |
- Handle<Code> ComputePolymorphicLoadIC(MapHandleList* receiver_maps, |
- CodeHandleList* handlers, |
- int number_of_valid_maps, |
- Handle<Name> name); |
- |
- Handle<Code> ComputePolymorphicStoreIC(MapHandleList* receiver_maps, |
- CodeHandleList* handlers, |
- int number_of_valid_maps, |
- Handle<Name> name, |
- StrictModeFlag strict_mode); |
+ Handle<Code> ComputePolymorphicIC(MapHandleList* receiver_maps, |
+ CodeHandleList* handlers, |
+ int number_of_valid_maps, |
+ Handle<Name> name, |
+ StrictModeFlag strict_mode); |
// Finds the Code object stored in the Heap::non_monomorphic_cache(). |
Code* FindCallInitialize(int argc, RelocInfo::Mode mode, Code::Kind kind); |
@@ -697,6 +679,10 @@ class BaseLoadStoreStubCompiler: public StubCompiler { |
Handle<Name> name, |
Label* success); |
+ Handle<Code> GetCode(Code::Kind kind, |
+ Code::StubType type, |
+ Handle<Name> name); |
+ |
Handle<Code> GetICCode(Code::Kind kind, |
Code::StubType type, |
Handle<Name> name, |
@@ -788,10 +774,6 @@ class BaseLoadStubCompiler: public BaseLoadStoreStubCompiler { |
Handle<Name> name, |
LookupResult* lookup); |
- Handle<Code> GetCode(Code::Kind kind, |
- Code::StubType type, |
- Handle<Name> name); |
- |
virtual Register receiver() { return registers_[0]; } |
virtual Register name() { return registers_[1]; } |
virtual Register scratch1() { return registers_[2]; } |
@@ -942,10 +924,6 @@ class BaseStoreStubCompiler: public BaseLoadStoreStubCompiler { |
virtual void HandlerFrontendFooter(Handle<Name> name, |
Label* success, |
Label* miss); |
- Handle<Code> GetCode(Code::Kind kind, |
- Code::StubType type, |
- Handle<Name> name); |
- |
void GenerateRestoreName(MacroAssembler* masm, |
Label* label, |
Handle<Name> name); |