Chromium Code Reviews| Index: src/ia32/stub-cache-ia32.cc |
| =================================================================== |
| --- src/ia32/stub-cache-ia32.cc (revision 3310) |
| +++ src/ia32/stub-cache-ia32.cc (working copy) |
| @@ -240,7 +240,7 @@ |
| __ mov(eax, FieldOperand(receiver, String::kLengthOffset)); |
| // ecx is also the receiver. |
| __ lea(ecx, Operand(scratch, String::kLongLengthShift)); |
| - __ shr(eax); // ecx is implicit shift register. |
| + __ shr_cl(eax); |
| __ shl(eax, kSmiTagSize); |
| __ ret(0); |