From 266a7e62585b975f2ea2d25473b21395f5ca5a3f Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Wed, 11 Jul 2018 00:59:53 +0200 Subject: src: use V8 graph heap snapshot API Transition to a newer, more flexible API for heap snapshot creation. This addresses a currently pending deprecation in the V8 API. PR-URL: https://github.com/nodejs/node/pull/21741 Fixes: https://github.com/nodejs/node/issues/21633 Reviewed-By: James M Snell Reviewed-By: Joyee Cheung Reviewed-By: Refael Ackermann --- src/async_wrap.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/async_wrap.h') diff --git a/src/async_wrap.h b/src/async_wrap.h index ef3a593489..f748dc801d 100644 --- a/src/async_wrap.h +++ b/src/async_wrap.h @@ -174,6 +174,7 @@ class AsyncWrap : public BaseObject { v8::Local* argv); virtual std::string diagnostic_name() const; + std::string MemoryInfoName() const override; static void WeakCallback(const v8::WeakCallbackInfo &info); @@ -204,8 +205,6 @@ class AsyncWrap : public BaseObject { double trigger_async_id_; }; -void LoadAsyncWrapperInfo(Environment* env); - } // namespace node #endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS -- cgit v1.2.3