Index: src/cpu-profiler.h |
diff --git a/src/cpu-profiler.h b/src/cpu-profiler.h |
index 36cb8ea03d3d41870f27ca0ba5f1f1ac9cbe3bd2..9485d0c19709cc97c5c5728283424a541142f61f 100644 |
--- a/src/cpu-profiler.h |
+++ b/src/cpu-profiler.h |
@@ -197,15 +197,15 @@ class ProfilerEventsProcessor : public Thread { |
} } // namespace v8::internal |
-#define PROFILE(Call) \ |
- LOG(Call); \ |
+#define PROFILE(isolate, Call) \ |
+ LOG(isolate, Call); \ |
do { \ |
if (v8::internal::CpuProfiler::is_profiling()) { \ |
v8::internal::CpuProfiler::Call; \ |
} \ |
} while (false) |
#else |
-#define PROFILE(Call) LOG(Call) |
+#define PROFILE(isolate, Call) LOG(isolate, Call) |
#endif // ENABLE_LOGGING_AND_PROFILING |