summaryrefslogtreecommitdiff
path: root/src/async_wrap.h
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2018-07-11 00:59:53 +0200
committerAnna Henningsen <anna@addaleax.net>2018-07-15 20:35:35 +0200
commit266a7e62585b975f2ea2d25473b21395f5ca5a3f (patch)
tree0e5229e042517620784aea2f8114c2cf3d287bb7 /src/async_wrap.h
parentd2a1408f119181675d9d3f20982ccd863443baad (diff)
downloadandroid-node-v8-266a7e62585b975f2ea2d25473b21395f5ca5a3f.tar.gz
android-node-v8-266a7e62585b975f2ea2d25473b21395f5ca5a3f.tar.bz2
android-node-v8-266a7e62585b975f2ea2d25473b21395f5ca5a3f.zip
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 <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'src/async_wrap.h')
-rw-r--r--src/async_wrap.h3
1 files changed, 1 insertions, 2 deletions
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<v8::Value>* argv);
virtual std::string diagnostic_name() const;
+ std::string MemoryInfoName() const override;
static void WeakCallback(const v8::WeakCallbackInfo<DestroyParam> &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