| Index: src/x64/macro-assembler-x64.h
|
| ===================================================================
|
| --- src/x64/macro-assembler-x64.h (revision 5806)
|
| +++ src/x64/macro-assembler-x64.h (working copy)
|
| @@ -982,6 +982,17 @@
|
| }
|
|
|
|
|
| +static inline Operand ContextOperand(Register context, int index) {
|
| + return Operand(context, Context::SlotOffset(index));
|
| +}
|
| +
|
| +
|
| +static inline Operand GlobalObjectOperand() {
|
| + return ContextOperand(rsi, Context::GLOBAL_INDEX);
|
| +}
|
| +
|
| +
|
| +
|
| #ifdef GENERATED_CODE_COVERAGE
|
| extern void LogGeneratedCodeCoverage(const char* file_line);
|
| #define CODE_COVERAGE_STRINGIFY(x) #x
|
|
|