Chromium Code Reviews| Index: src/x64/stub-cache-x64.cc |
| =================================================================== |
| --- src/x64/stub-cache-x64.cc (revision 3310) |
| +++ src/x64/stub-cache-x64.cc (working copy) |
| @@ -327,7 +327,7 @@ |
| __ movl(rax, FieldOperand(receiver, String::kLengthOffset)); |
| // rcx is also the receiver. |
| __ lea(rcx, Operand(scratch, String::kLongLengthShift)); |
| - __ shr(rax); // rcx is implicit shift register. |
| + __ shr_cl(rax); |
| __ Integer32ToSmi(rax, rax); |
| __ ret(0); |