Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Unified Diff: src/x64/macro-assembler-x64.cc

Issue 11280212: Introduce --log-external-callbacks flag apart from --log-timer-events. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/vm-state-inl.h ('k') | tools/plot-timer-events » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « src/vm-state-inl.h ('k') | tools/plot-timer-events » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698