| Index: src/v8globals.h
|
| diff --git a/src/v8globals.h b/src/v8globals.h
|
| index 7d8d1b7e400794b7105314445d4bde0fad09ab29..d47f48524dd44e66cc239e3208f6271f058bef0f 100644
|
| --- a/src/v8globals.h
|
| +++ b/src/v8globals.h
|
| @@ -219,6 +219,15 @@ enum VisitMode {
|
| enum NativesFlag { NOT_NATIVES_CODE, NATIVES_CODE };
|
|
|
|
|
| +#if V8_TARGET_ARCH_A64
|
| +typedef uint64_t RegList;
|
| +#else
|
| +typedef uint32_t RegList;
|
| +#endif
|
| +const RegList kRegListEmpty = 0;
|
| +const int kRegListSize = sizeof(RegList); // NOLINT
|
| +
|
| +
|
| // A CodeDesc describes a buffer holding instructions and relocation
|
| // information. The instructions start at the beginning of the buffer
|
| // and grow forward, the relocation information starts at the end of
|
| @@ -239,6 +248,8 @@ struct CodeDesc {
|
| int instr_size;
|
| int reloc_size;
|
| Assembler* origin;
|
| + RegList registers_mask;
|
| + RegList double_registers_mask;
|
| };
|
|
|
|
|
|
|