diff options
author | geek <wpreul@gmail.com> | 2017-08-28 13:19:47 -0500 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2017-10-18 17:03:11 -0700 |
commit | 8f9e738a692a4617c905cd622473b0bc53630a62 (patch) | |
tree | 3fa32fc6d2f17c80245677ddf9494a6dc748bbf9 | |
parent | a7487c92e208004a7da0e98d395306a4a9e780ef (diff) | |
download | android-node-v8-8f9e738a692a4617c905cd622473b0bc53630a62.tar.gz android-node-v8-8f9e738a692a4617c905cd622473b0bc53630a62.tar.bz2 android-node-v8-8f9e738a692a4617c905cd622473b0bc53630a62.zip |
src: update ustack offset identifiers
PR-URL: https://github.com/nodejs/node/pull/15362
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
-rw-r--r-- | src/v8abbr.h | 4 | ||||
-rw-r--r-- | src/v8ustack.d | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/v8abbr.h b/src/v8abbr.h index 8981126f27..ed96416061 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 414a39268f..0f403bae65 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); |