From 8f9e738a692a4617c905cd622473b0bc53630a62 Mon Sep 17 00:00:00 2001 From: geek Date: Mon, 28 Aug 2017 13:19:47 -0500 Subject: [PATCH] src: update ustack offset identifiers PR-URL: https://github.com/nodejs/node/pull/15362 Reviewed-By: Myles Borins Reviewed-By: Colin Ihrig Reviewed-By: Matteo Collina Reviewed-By: Ben Noordhuis --- src/v8abbr.h | 4 ++-- src/v8ustack.d | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/v8abbr.h b/src/v8abbr.h index 8981126f273f39..ed964160611678 100644 --- a/src/v8abbr.h +++ b/src/v8abbr.h @@ -91,8 +91,8 @@ V8_OFF_HEAP(V8DBG_CLASS_SHAREDFUNCTIONINFO__FUNCTION_IDENTIFIER__OBJECT) #define V8_OFF_SHARED_SCRIPT \ V8_OFF_HEAP(V8DBG_CLASS_SHAREDFUNCTIONINFO__SCRIPT__OBJECT) -#define V8_OFF_SHARED_FUNTOK \ - V8_OFF_HEAP(V8DBG_CLASS_SHAREDFUNCTIONINFO__FUNCTION_TOKEN_POSITION__INT) +#define V8_OFF_SHARED_FUNIDENT \ + V8_OFF_HEAP(V8DBG_CLASS_SHAREDFUNCTIONINFO__FUNCTION_IDENTIFIER__OBJECT) #define V8_OFF_SCRIPT_NAME \ V8_OFF_HEAP(V8DBG_CLASS_SCRIPT__NAME__OBJECT) #define V8_OFF_SCRIPT_LENDS \ diff --git a/src/v8ustack.d b/src/v8ustack.d index 414a39268f8f30..0f403bae655e20 100644 --- a/src/v8ustack.d +++ b/src/v8ustack.d @@ -599,7 +599,7 @@ APPEND_V8STR(this->scriptnamestr, this->scriptnamelen, this->scriptnameattrs) dtrace:helper:ustack: /!this->done/ { - this->position = COPYIN_UINT32(this->shared + V8_OFF_SHARED_FUNTOK); + this->position = COPYIN_UINT32(this->shared + V8_OFF_SHARED_FUNIDENT); this->line_ends = COPYIN_PTR(this->script + V8_OFF_SCRIPT_LENDS); this->map = V8_MAP_PTR(COPYIN_PTR(this->line_ends + V8_OFF_HEAPOBJ_MAP)); this->le_attrs = COPYIN_UINT8(this->map + V8_OFF_MAP_ATTRS);