| Index: src/ia32/code-stubs-ia32.cc
|
| ===================================================================
|
| --- src/ia32/code-stubs-ia32.cc (revision 8501)
|
| +++ src/ia32/code-stubs-ia32.cc (working copy)
|
| @@ -3379,9 +3379,8 @@
|
| __ bind(&check_code);
|
| // 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.
|
| - __ CmpObjectType(edx, CODE_TYPE, ebx);
|
| - __ j(not_equal, &runtime);
|
| + // a smi (code flushing support).
|
| + __ JumpIfSmi(edx, &runtime);
|
|
|
| // eax: subject string
|
| // edx: code
|
|
|