Chromium Code Reviews| Index: bleeding_edge/src/ia32/stub-cache-ia32.cc |
| =================================================================== |
| --- bleeding_edge/src/ia32/stub-cache-ia32.cc (revision 3492) |
| +++ bleeding_edge/src/ia32/stub-cache-ia32.cc (working copy) |
| @@ -236,7 +236,7 @@ |
| // Load length from the string and convert to a smi. |
| __ bind(&load_length); |
| __ mov(eax, FieldOperand(receiver, String::kLengthOffset)); |
| - __ shl(eax, kSmiTagSize); |
| + __ SmiTag(eax); |
| __ ret(0); |
| // Check if the object is a JSValue wrapper. |