Index: src/arm/stub-cache-arm.cc |
=================================================================== |
--- src/arm/stub-cache-arm.cc (revision 4679) |
+++ src/arm/stub-cache-arm.cc (working copy) |
@@ -1617,15 +1617,11 @@ |
JSObject* object, |
JSObject* last) { |
// ----------- S t a t e ------------- |
- // -- r2 : name |
+ // -- r0 : receiver |
// -- lr : return address |
- // -- [sp] : receiver |
// ----------------------------------- |
Label miss; |
- // Load receiver. |
- __ ldr(r0, MemOperand(sp, 0)); |
- |
// Check that receiver is not a smi. |
__ tst(r0, Operand(kSmiTagMask)); |
__ b(eq, &miss); |
@@ -1662,14 +1658,12 @@ |
int index, |
String* name) { |
// ----------- S t a t e ------------- |
+ // -- r0 : receiver |
// -- r2 : name |
// -- lr : return address |
- // -- [sp] : receiver |
// ----------------------------------- |
Label miss; |
- __ ldr(r0, MemOperand(sp, 0)); |
- |
GenerateLoadField(object, holder, r0, r3, r1, index, name, &miss); |
__ bind(&miss); |
GenerateLoadMiss(masm(), Code::LOAD_IC); |
@@ -1684,13 +1678,12 @@ |
JSObject* holder, |
AccessorInfo* callback) { |
// ----------- S t a t e ------------- |
+ // -- r0 : receiver |
// -- r2 : name |
// -- lr : return address |
- // -- [sp] : receiver |
// ----------------------------------- |
Label miss; |
- __ ldr(r0, MemOperand(sp, 0)); |
Failure* failure = Failure::InternalError(); |
bool success = GenerateLoadCallback(object, holder, r0, r2, r3, r1, |
callback, name, &miss, &failure); |
@@ -1709,14 +1702,12 @@ |
Object* value, |
String* name) { |
// ----------- S t a t e ------------- |
+ // -- r0 : receiver |
// -- r2 : name |
// -- lr : return address |
- // -- [sp] : receiver |
// ----------------------------------- |
Label miss; |
- __ ldr(r0, MemOperand(sp, 0)); |
- |
GenerateLoadConstant(object, holder, r0, r3, r1, value, name, &miss); |
__ bind(&miss); |
GenerateLoadMiss(masm(), Code::LOAD_IC); |
@@ -1730,14 +1721,12 @@ |
JSObject* holder, |
String* name) { |
// ----------- S t a t e ------------- |
+ // -- r0 : receiver |
// -- r2 : name |
// -- lr : return address |
- // -- [sp] : receiver |
// ----------------------------------- |
Label miss; |
- __ ldr(r0, MemOperand(sp, 0)); |
- |
LookupResult lookup; |
LookupPostInterceptor(holder, name, &lookup); |
GenerateLoadInterceptor(object, |
@@ -1763,10 +1752,9 @@ |
String* name, |
bool is_dont_delete) { |
// ----------- S t a t e ------------- |
+ // -- r0 : receiver |
// -- r2 : name |
// -- lr : return address |
- // -- r0 : receiver |
- // -- sp[0] : receiver |
// ----------------------------------- |
Label miss; |