Index: src/arm/stub-cache-arm.cc |
=================================================================== |
--- src/arm/stub-cache-arm.cc (revision 3336) |
+++ src/arm/stub-cache-arm.cc (working copy) |
@@ -229,10 +229,7 @@ |
miss, &check_wrapper); |
// Load length directly from the string. |
- __ and_(scratch1, scratch1, Operand(kStringSizeMask)); |
- __ add(scratch1, scratch1, Operand(String::kHashShift)); |
__ ldr(r0, FieldMemOperand(receiver, String::kLengthOffset)); |
- __ mov(r0, Operand(r0, LSR, scratch1)); |
__ mov(r0, Operand(r0, LSL, kSmiTagSize)); |
__ Ret(); |