| Index: src/x64/macro-assembler-x64.cc
|
| diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc
|
| index 4e4f2c572c88097c74185c2ebc48a22cb6387e6f..671f59f20578a6673fee6de23cd0ed513e22d795 100644
|
| --- a/src/x64/macro-assembler-x64.cc
|
| +++ b/src/x64/macro-assembler-x64.cc
|
| @@ -721,7 +721,7 @@ void MacroAssembler::CallApiFunctionAndReturn(Address function_address,
|
| movq(prev_limit_reg, Operand(base_reg, kLimitOffset));
|
| addl(Operand(base_reg, kLevelOffset), Immediate(1));
|
|
|
| - if (FLAG_log_timer_events) {
|
| + if (FLAG_log_external_callbacks) {
|
| FrameScope frame(this, StackFrame::MANUAL);
|
| PushSafepointRegisters();
|
| PrepareCallCFunction(0);
|
| @@ -734,7 +734,7 @@ void MacroAssembler::CallApiFunctionAndReturn(Address function_address,
|
| RelocInfo::RUNTIME_ENTRY);
|
| call(rax);
|
|
|
| - if (FLAG_log_timer_events) {
|
| + if (FLAG_log_external_callbacks) {
|
| FrameScope frame(this, StackFrame::MANUAL);
|
| PushSafepointRegisters();
|
| PrepareCallCFunction(0);
|
|
|