summaryrefslogtreecommitdiff
path: root/test/cctest
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2017-11-16 15:15:05 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2017-11-17 02:37:55 +0100
commitd6ac8a4db0c0a588258f594dc21fbd8018bef7c2 (patch)
tree46e336cedab7f85032efd524bdafcdd7e6cd92a3 /test/cctest
parentd37789deeb5e951500d7fb499602dc100d3212fb (diff)
downloadandroid-node-v8-d6ac8a4db0c0a588258f594dc21fbd8018bef7c2.tar.gz
android-node-v8-d6ac8a4db0c0a588258f594dc21fbd8018bef7c2.tar.bz2
android-node-v8-d6ac8a4db0c0a588258f594dc21fbd8018bef7c2.zip
src: use NODE_BUILTIN_MODULE_CONTEXT_AWARE() macro
Commit d217b2850e ("async_hooks: add trace events to async_hooks") used `NODE_MODULE_CONTEXT_AWARE_BUILTIN()` instead. After commit 8680bb9f1a ("src: explicitly register built-in modules") it no longer works for static library builds so remove it. PR-URL: https://github.com/nodejs/node/pull/17071 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'test/cctest')
-rw-r--r--test/cctest/node_module_reg.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/cctest/node_module_reg.cc b/test/cctest/node_module_reg.cc
index f8d9d03c1c..a0736d2cc3 100644
--- a/test/cctest/node_module_reg.cc
+++ b/test/cctest/node_module_reg.cc
@@ -20,6 +20,7 @@ void _register_spawn_sync() {}
void _register_stream_wrap() {}
void _register_tcp_wrap() {}
void _register_timer_wrap() {}
+void _register_trace_events() {}
void _register_tty_wrap() {}
void _register_udp_wrap() {}
void _register_util() {}