Chromium Code Reviews| Index: src/x64/code-stubs-x64.cc |
| =================================================================== |
| --- src/x64/code-stubs-x64.cc (revision 8431) |
| +++ src/x64/code-stubs-x64.cc (working copy) |
| @@ -2455,8 +2455,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(r11, CODE_TYPE, kScratchRegister); |
| + // smi (code flushing support) |
| + __ JumpIfSmi(r11, &runtime); |
| __ j(not_equal, &runtime); |
|
Erik Corry
2011/06/30 18:48:25
Hat trick!
Rico
2011/07/01 05:58:09
Done.
|
| // rdi: subject string |