Index: src/arm/stub-cache-arm.cc |
diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc |
index c3663e9b10a9963d9930f29ded634754ee8c3f9d..a476a428c163149569a46d1b398c74b88dc62b41 100644 |
--- a/src/arm/stub-cache-arm.cc |
+++ b/src/arm/stub-cache-arm.cc |
@@ -433,7 +433,7 @@ static void GenerateCheckPropertyCell(MacroAssembler* masm, |
} |
-void BaseStoreStubCompiler::GenerateNegativeHolderLookup( |
+void StoreStubCompiler::GenerateNegativeHolderLookup( |
MacroAssembler* masm, |
Handle<JSObject> holder, |
Register holder_reg, |
@@ -453,19 +453,19 @@ void BaseStoreStubCompiler::GenerateNegativeHolderLookup( |
// 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::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) { |
// r0 : value |
Label exit; |
@@ -617,15 +617,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) { |
// r0 : value |
Label exit; |
@@ -736,9 +736,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); |
__ mov(this->name(), Operand(name)); |
@@ -1304,9 +1304,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()) { |
__ b(success); |
__ bind(miss); |
@@ -1315,9 +1315,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); |
@@ -1326,7 +1326,7 @@ void BaseStoreStubCompiler::HandlerFrontendFooter(Handle<Name> name, |
} |
-Register BaseLoadStubCompiler::CallbackHandlerFrontend( |
+Register LoadStubCompiler::CallbackHandlerFrontend( |
Handle<JSObject> object, |
Register object_reg, |
Handle<JSObject> holder, |
@@ -1373,7 +1373,7 @@ Register BaseLoadStubCompiler::CallbackHandlerFrontend( |
} |
-void BaseLoadStubCompiler::NonexistentHandlerFrontend( |
+void LoadStubCompiler::NonexistentHandlerFrontend( |
Handle<JSObject> object, |
Handle<JSObject> last, |
Handle<Name> name, |
@@ -1393,10 +1393,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), |
@@ -1412,21 +1412,21 @@ void BaseLoadStubCompiler::GenerateLoadField(Register reg, |
} |
-void BaseLoadStubCompiler::GenerateLoadConstant(Handle<Object> value) { |
+void LoadStubCompiler::GenerateLoadConstant(Handle<Object> value) { |
// Return the constant value. |
__ LoadObject(r0, 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 |
@@ -1492,7 +1492,7 @@ void BaseLoadStubCompiler::GenerateLoadCallback( |
} |
-void BaseLoadStubCompiler::GenerateLoadInterceptor( |
+void LoadStubCompiler::GenerateLoadInterceptor( |
Register holder_reg, |
Handle<JSObject> object, |
Handle<JSObject> interceptor_holder, |
@@ -3004,6 +3004,7 @@ void KeyedStoreStubCompiler::GenerateNameCheck(Handle<Name> name, |
void LoadStubCompiler::GenerateLoadViaGetter(MacroAssembler* masm, |
+ Register receiver, |
Handle<JSFunction> getter) { |
// ----------- S t a t e ------------- |
// -- r0 : receiver |
@@ -3015,7 +3016,7 @@ void LoadStubCompiler::GenerateLoadViaGetter(MacroAssembler* masm, |
if (!getter.is_null()) { |
// Call the JavaScript getter with the receiver on the stack. |
- __ push(r0); |
+ __ push(receiver); |
ParameterCount actual(0); |
ParameterCount expected(getter); |
__ InvokeFunction(getter, expected, actual, |