| Index: src/x64/macro-assembler-x64.h
|
| ===================================================================
|
| --- src/x64/macro-assembler-x64.h (revision 13283)
|
| +++ src/x64/macro-assembler-x64.h (working copy)
|
| @@ -1485,17 +1485,16 @@
|
| #define CODE_COVERAGE_STRINGIFY(x) #x
|
| #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
|
| #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
|
| -#define ACCESS_MASM(masm) { \
|
| - byte* x64_coverage_function = \
|
| - reinterpret_cast<byte*>(FUNCTION_ADDR(LogGeneratedCodeCoverage)); \
|
| - masm->pushfd(); \
|
| - masm->pushad(); \
|
| - masm->push(Immediate(reinterpret_cast<int>(&__FILE_LINE__))); \
|
| - masm->call(x64_coverage_function, RelocInfo::RUNTIME_ENTRY); \
|
| - masm->pop(rax); \
|
| - masm->popad(); \
|
| - masm->popfd(); \
|
| - } \
|
| +#define ACCESS_MASM(masm) { \
|
| + Address x64_coverage_function = FUNCTION_ADDR(LogGeneratedCodeCoverage); \
|
| + masm->pushfq(); \
|
| + masm->Pushad(); \
|
| + masm->push(Immediate(reinterpret_cast<int>(&__FILE_LINE__))); \
|
| + masm->Call(x64_coverage_function, RelocInfo::EXTERNAL_REFERENCE); \
|
| + masm->pop(rax); \
|
| + masm->Popad(); \
|
| + masm->popfq(); \
|
| + } \
|
| masm->
|
| #else
|
| #define ACCESS_MASM(masm) masm->
|
|
|