Index: src/arm/stub-cache-arm.cc |
=================================================================== |
--- src/arm/stub-cache-arm.cc (revision 4607) |
+++ src/arm/stub-cache-arm.cc (working copy) |
@@ -1813,8 +1813,7 @@ |
// ----------- S t a t e ------------- |
// -- lr : return address |
// -- r0 : key |
- // -- sp[0] : key |
- // -- sp[4] : receiver |
+ // -- r1 : receiver |
// ----------------------------------- |
Label miss; |
@@ -1822,7 +1821,6 @@ |
__ cmp(r0, Operand(Handle<String>(name))); |
__ b(ne, &miss); |
- __ ldr(r1, MemOperand(sp, kPointerSize)); // Receiver. |
GenerateLoadField(receiver, holder, r1, r2, r3, index, name, &miss); |
__ bind(&miss); |
GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC); |
@@ -1838,8 +1836,7 @@ |
// ----------- S t a t e ------------- |
// -- lr : return address |
// -- r0 : key |
- // -- sp[0] : key |
- // -- sp[4] : receiver |
+ // -- r1 : receiver |
// ----------------------------------- |
Label miss; |
@@ -1848,7 +1845,6 @@ |
__ b(ne, &miss); |
Failure* failure = Failure::InternalError(); |
- __ ldr(r1, MemOperand(sp, kPointerSize)); // Receiver. |
bool success = GenerateLoadCallback(receiver, holder, r1, r0, r2, r3, |
callback, name, &miss, &failure); |
if (!success) return failure; |
@@ -1867,8 +1863,7 @@ |
// ----------- S t a t e ------------- |
// -- lr : return address |
// -- r0 : key |
- // -- sp[0] : key |
- // -- sp[4] : receiver |
+ // -- r1 : receiver |
// ----------------------------------- |
Label miss; |
@@ -1876,7 +1871,6 @@ |
__ cmp(r0, Operand(Handle<String>(name))); |
__ b(ne, &miss); |
- __ ldr(r1, MemOperand(sp, kPointerSize)); // Receiver. |
GenerateLoadConstant(receiver, holder, r1, r2, r3, value, name, &miss); |
__ bind(&miss); |
GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC); |
@@ -1892,8 +1886,7 @@ |
// ----------- S t a t e ------------- |
// -- lr : return address |
// -- r0 : key |
- // -- sp[0] : key |
- // -- sp[4] : receiver |
+ // -- r1 : receiver |
// ----------------------------------- |
Label miss; |
@@ -1903,7 +1896,6 @@ |
LookupResult lookup; |
LookupPostInterceptor(holder, name, &lookup); |
- __ ldr(r1, MemOperand(sp, kPointerSize)); // Receiver. |
GenerateLoadInterceptor(receiver, |
holder, |
&lookup, |
@@ -1924,8 +1916,7 @@ |
// ----------- S t a t e ------------- |
// -- lr : return address |
// -- r0 : key |
- // -- sp[0] : key |
- // -- sp[4] : receiver |
+ // -- r1 : receiver |
// ----------------------------------- |
Label miss; |
@@ -1933,7 +1924,6 @@ |
__ cmp(r0, Operand(Handle<String>(name))); |
__ b(ne, &miss); |
- __ ldr(r1, MemOperand(sp, kPointerSize)); // Receiver. |
GenerateLoadArrayLength(masm(), r1, r2, &miss); |
__ bind(&miss); |
GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC); |
@@ -1946,8 +1936,7 @@ |
// ----------- S t a t e ------------- |
// -- lr : return address |
// -- r0 : key |
- // -- sp[0] : key |
- // -- sp[4] : receiver |
+ // -- r1 : receiver |
// ----------------------------------- |
Label miss; |
__ IncrementCounter(&Counters::keyed_load_string_length, 1, r1, r3); |
@@ -1956,7 +1945,6 @@ |
__ cmp(r0, Operand(Handle<String>(name))); |
__ b(ne, &miss); |
- __ ldr(r1, MemOperand(sp, kPointerSize)); // Receiver. |
GenerateLoadStringLength(masm(), r1, r2, r3, &miss); |
__ bind(&miss); |
__ DecrementCounter(&Counters::keyed_load_string_length, 1, r1, r3); |
@@ -1972,8 +1960,7 @@ |
// ----------- S t a t e ------------- |
// -- lr : return address |
// -- r0 : key |
- // -- sp[0] : key |
- // -- sp[4] : receiver |
+ // -- r1 : receiver |
// ----------------------------------- |
GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC); |