Chromium Code Reviews| Index: src/arm/code-stubs-arm.cc |
| =================================================================== |
| --- src/arm/code-stubs-arm.cc (revision 8431) |
| +++ src/arm/code-stubs-arm.cc (working copy) |
| @@ -4420,8 +4420,8 @@ |
| // Check that the irregexp code has been generated for the actual string |
| // encoding. If it has, the field contains a code object otherwise it contains |
| - // the hole. |
| - __ CompareObjectType(r7, r0, r0, CODE_TYPE); |
| + // a smi (code flushing support). |
| + __ JumpIfSmi(r7, &runtime); |
| __ b(ne, &runtime); |
|
Erik Corry
2011/06/30 18:48:25
This b is superfluous
Rico
2011/07/01 05:58:09
Done.
|
| // r3: encoding of subject string (1 if ASCII, 0 if two_byte); |