Index: src/mips/stub-cache-mips.cc |
diff --git a/src/mips/stub-cache-mips.cc b/src/mips/stub-cache-mips.cc |
index cd08533ff074f1ac5dba2c39ccef320407b46dac..471c25ef824d2fa59671642a4713f19cdcc49618 100644 |
--- a/src/mips/stub-cache-mips.cc |
+++ b/src/mips/stub-cache-mips.cc |
@@ -425,7 +425,7 @@ static void GenerateCheckPropertyCell(MacroAssembler* masm, |
} |
-void BaseStoreStubCompiler::GenerateNegativeHolderLookup( |
+void StoreStubCompiler::GenerateNegativeHolderLookup( |
MacroAssembler* masm, |
Handle<JSObject> holder, |
Register holder_reg, |
@@ -444,19 +444,19 @@ void BaseStoreStubCompiler::GenerateNegativeHolderLookup( |
// Generate StoreTransition code, value is passed in a0 register. |
// After executing generated code, the receiver_reg and name_reg |
// may be clobbered. |
-void BaseStoreStubCompiler::GenerateStoreTransition(MacroAssembler* masm, |
- Handle<JSObject> object, |
- LookupResult* lookup, |
- Handle<Map> transition, |
- Handle<Name> name, |
- Register receiver_reg, |
- Register storage_reg, |
- Register value_reg, |
- Register scratch1, |
- Register scratch2, |
- Register scratch3, |
- Label* miss_label, |
- Label* slow) { |
+void StoreStubCompiler::GenerateStoreTransition(MacroAssembler* masm, |
+ Handle<JSObject> object, |
+ LookupResult* lookup, |
+ Handle<Map> transition, |
+ Handle<Name> name, |
+ Register receiver_reg, |
+ Register storage_reg, |
+ Register value_reg, |
+ Register scratch1, |
+ Register scratch2, |
+ Register scratch3, |
+ Label* miss_label, |
+ Label* slow) { |
// a0 : value. |
Label exit; |
@@ -608,15 +608,15 @@ void BaseStoreStubCompiler::GenerateStoreTransition(MacroAssembler* masm, |
// When leaving generated code after success, the receiver_reg and name_reg |
// may be clobbered. Upon branch to miss_label, the receiver and name |
// registers have their original values. |
-void BaseStoreStubCompiler::GenerateStoreField(MacroAssembler* masm, |
- Handle<JSObject> object, |
- LookupResult* lookup, |
- Register receiver_reg, |
- Register name_reg, |
- Register value_reg, |
- Register scratch1, |
- Register scratch2, |
- Label* miss_label) { |
+void StoreStubCompiler::GenerateStoreField(MacroAssembler* masm, |
+ Handle<JSObject> object, |
+ LookupResult* lookup, |
+ Register receiver_reg, |
+ Register name_reg, |
+ Register value_reg, |
+ Register scratch1, |
+ Register scratch2, |
+ Label* miss_label) { |
// a0 : value |
Label exit; |
@@ -729,9 +729,9 @@ void BaseStoreStubCompiler::GenerateStoreField(MacroAssembler* masm, |
} |
-void BaseStoreStubCompiler::GenerateRestoreName(MacroAssembler* masm, |
- Label* label, |
- Handle<Name> name) { |
+void StoreStubCompiler::GenerateRestoreName(MacroAssembler* masm, |
+ Label* label, |
+ Handle<Name> name) { |
if (!label->is_unused()) { |
__ bind(label); |
__ li(this->name(), Operand(name)); |
@@ -1296,9 +1296,9 @@ Register StubCompiler::CheckPrototypes(Handle<JSObject> object, |
} |
-void BaseLoadStubCompiler::HandlerFrontendFooter(Handle<Name> name, |
- Label* success, |
- Label* miss) { |
+void LoadStubCompiler::HandlerFrontendFooter(Handle<Name> name, |
+ Label* success, |
+ Label* miss) { |
if (!miss->is_unused()) { |
__ Branch(success); |
__ bind(miss); |
@@ -1307,9 +1307,9 @@ void BaseLoadStubCompiler::HandlerFrontendFooter(Handle<Name> name, |
} |
-void BaseStoreStubCompiler::HandlerFrontendFooter(Handle<Name> name, |
- Label* success, |
- Label* miss) { |
+void StoreStubCompiler::HandlerFrontendFooter(Handle<Name> name, |
+ Label* success, |
+ Label* miss) { |
if (!miss->is_unused()) { |
__ b(success); |
GenerateRestoreName(masm(), miss, name); |
@@ -1318,7 +1318,7 @@ void BaseStoreStubCompiler::HandlerFrontendFooter(Handle<Name> name, |
} |
-Register BaseLoadStubCompiler::CallbackHandlerFrontend( |
+Register LoadStubCompiler::CallbackHandlerFrontend( |
Handle<JSObject> object, |
Register object_reg, |
Handle<JSObject> holder, |
@@ -1364,7 +1364,7 @@ Register BaseLoadStubCompiler::CallbackHandlerFrontend( |
} |
-void BaseLoadStubCompiler::NonexistentHandlerFrontend( |
+void LoadStubCompiler::NonexistentHandlerFrontend( |
Handle<JSObject> object, |
Handle<JSObject> last, |
Handle<Name> name, |
@@ -1384,10 +1384,10 @@ void BaseLoadStubCompiler::NonexistentHandlerFrontend( |
} |
-void BaseLoadStubCompiler::GenerateLoadField(Register reg, |
- Handle<JSObject> holder, |
- PropertyIndex field, |
- Representation representation) { |
+void LoadStubCompiler::GenerateLoadField(Register reg, |
+ Handle<JSObject> holder, |
+ PropertyIndex field, |
+ Representation representation) { |
if (!reg.is(receiver())) __ mov(receiver(), reg); |
if (kind() == Code::LOAD_IC) { |
LoadFieldStub stub(field.is_inobject(holder), |
@@ -1403,21 +1403,21 @@ void BaseLoadStubCompiler::GenerateLoadField(Register reg, |
} |
-void BaseLoadStubCompiler::GenerateLoadConstant(Handle<Object> value) { |
+void LoadStubCompiler::GenerateLoadConstant(Handle<Object> value) { |
// Return the constant value. |
__ LoadObject(v0, value); |
__ Ret(); |
} |
-void BaseLoadStubCompiler::GenerateLoadCallback( |
+void LoadStubCompiler::GenerateLoadCallback( |
const CallOptimization& call_optimization) { |
GenerateFastApiCall( |
masm(), call_optimization, receiver(), scratch3(), 0, NULL); |
} |
-void BaseLoadStubCompiler::GenerateLoadCallback( |
+void LoadStubCompiler::GenerateLoadCallback( |
Register reg, |
Handle<ExecutableAccessorInfo> callback) { |
// Build AccessorInfo::args_ list on the stack and push property name below |
@@ -1487,7 +1487,7 @@ void BaseLoadStubCompiler::GenerateLoadCallback( |
} |
-void BaseLoadStubCompiler::GenerateLoadInterceptor( |
+void LoadStubCompiler::GenerateLoadInterceptor( |
Register holder_reg, |
Handle<JSObject> object, |
Handle<JSObject> interceptor_holder, |
@@ -3019,6 +3019,7 @@ void KeyedStoreStubCompiler::GenerateNameCheck(Handle<Name> name, |
void LoadStubCompiler::GenerateLoadViaGetter(MacroAssembler* masm, |
+ Register receiver, |
Handle<JSFunction> getter) { |
// ----------- S t a t e ------------- |
// -- a0 : receiver |
@@ -3030,7 +3031,7 @@ void LoadStubCompiler::GenerateLoadViaGetter(MacroAssembler* masm, |
if (!getter.is_null()) { |
// Call the JavaScript getter with the receiver on the stack. |
- __ push(a0); |
+ __ push(receiver); |
ParameterCount actual(0); |
ParameterCount expected(getter); |
__ InvokeFunction(getter, expected, actual, |