Chromium Code Reviews| Index: src/v8utils.h |
| =================================================================== |
| --- src/v8utils.h (revision 15486) |
| +++ src/v8utils.h (working copy) |
| @@ -260,8 +260,12 @@ |
| #if V8_HOST_ARCH_IA32 |
| #define STOS "stosl" |
| #elif V8_HOST_ARCH_X64 |
| +#if V8_HOST_ARCH_32_BIT |
|
danno
2013/07/17 13:33:21
Are you sure the nesting is right here? It seems l
haitao.feng
2013/07/18 10:04:09
It is right. For X32, V8_HOST_ARCH_X64 and V8_HOST
|
| +#define STOS "addr32 stosl" |
| +#else |
| #define STOS "stosq" |
| #endif |
| +#endif |
| #if defined(__native_client__) |
| // This STOS sequence does not validate for x86_64 Native Client. |
| // Here we #undef STOS to force use of the slower C version. |