summaryrefslogtreecommitdiff
path: root/src/node_postmortem_metadata.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_postmortem_metadata.cc')
-rw-r--r--src/node_postmortem_metadata.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/node_postmortem_metadata.cc b/src/node_postmortem_metadata.cc
index b335e7fbf8..93bf5a4dd7 100644
--- a/src/node_postmortem_metadata.cc
+++ b/src/node_postmortem_metadata.cc
@@ -4,6 +4,7 @@
#include "util-inl.h"
#include "req_wrap.h"
#include "v8abbr.h"
+#include "node_context_data.h"
#define NODEDBG_SYMBOL(Name) nodedbg_ ## Name
@@ -34,7 +35,7 @@
V(ListNode_ReqWrap, next_, uintptr_t, ListNode<ReqWrap<uv_req_t>>::next_)
extern "C" {
-int nodedbg_const_Environment__kContextEmbedderDataIndex__int;
+int nodedbg_const_ContextEmbedderIndex__kEnvironment__int;
uintptr_t nodedbg_offset_ExternalString__data__uintptr_t;
#define V(Class, Member, Type, Accessor) \
@@ -46,8 +47,8 @@ uintptr_t nodedbg_offset_ExternalString__data__uintptr_t;
namespace node {
int GenDebugSymbols() {
- nodedbg_const_Environment__kContextEmbedderDataIndex__int =
- Environment::kContextEmbedderDataIndex;
+ nodedbg_const_ContextEmbedderIndex__kEnvironment__int =
+ ContextEmbedderIndex::kEnvironment;
nodedbg_offset_ExternalString__data__uintptr_t = NODE_OFF_EXTSTR_DATA;