| Index: src/arm/code-stubs-arm.cc
|
| ===================================================================
|
| --- src/arm/code-stubs-arm.cc (revision 8501)
|
| +++ src/arm/code-stubs-arm.cc (working copy)
|
| @@ -4421,9 +4421,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);
|
| - __ b(ne, &runtime);
|
| + // a smi (code flushing support).
|
| + __ JumpIfSmi(r7, &runtime);
|
|
|
| // r3: encoding of subject string (1 if ASCII, 0 if two_byte);
|
| // r7: code
|
|
|