From 617f0554beca8f323d7d8922d3f1186a94720dfe Mon Sep 17 00:00:00 2001 From: Nitish Sakhawalkar Date: Fri, 1 Mar 2019 11:51:25 -0800 Subject: [PATCH] src: fix build when NODE_USE_V8_PLATFORM is not defined PR-URL: https://github.com/nodejs/node/pull/26380 Reviewed-By: Anna Henningsen Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Ruben Bridgewater Reviewed-By: Refael Ackermann --- src/node_v8_platform-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_v8_platform-inl.h b/src/node_v8_platform-inl.h index 2c89ee9e5244b5..83594724aed4e6 100644 --- a/src/node_v8_platform-inl.h +++ b/src/node_v8_platform-inl.h @@ -149,7 +149,7 @@ struct V8Platform { inline void DrainVMTasks(v8::Isolate* isolate) {} inline void CancelVMTasks(v8::Isolate* isolate) {} inline void StartTracingAgent() { - if (!trace_enabled_categories.empty()) { + if (!per_process::cli_options->trace_event_categories.empty()) { fprintf(stderr, "Node compiled with NODE_USE_V8_PLATFORM=0, " "so event tracing is not available.\n");