Skip to content

Commit 805084b

Browse files
geekgibfahn
authored andcommitted
src: update ustack offset identifiers
PR-URL: #15362 Backport-PR-URL: #16413 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>
1 parent 92a93c0 commit 805084b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/v8abbr.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@
9191
V8_OFF_HEAP(V8DBG_CLASS_SHAREDFUNCTIONINFO__FUNCTION_IDENTIFIER__OBJECT)
9292
#define V8_OFF_SHARED_SCRIPT \
9393
V8_OFF_HEAP(V8DBG_CLASS_SHAREDFUNCTIONINFO__SCRIPT__OBJECT)
94-
#define V8_OFF_SHARED_FUNTOK \
95-
V8_OFF_HEAP(V8DBG_CLASS_SHAREDFUNCTIONINFO__FUNCTION_TOKEN_POSITION__INT)
94+
#define V8_OFF_SHARED_FUNIDENT \
95+
V8_OFF_HEAP(V8DBG_CLASS_SHAREDFUNCTIONINFO__FUNCTION_IDENTIFIER__OBJECT)
9696
#define V8_OFF_SCRIPT_NAME \
9797
V8_OFF_HEAP(V8DBG_CLASS_SCRIPT__NAME__OBJECT)
9898
#define V8_OFF_SCRIPT_LENDS \

src/v8ustack.d

+1-1
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ APPEND_V8STR(this->scriptnamestr, this->scriptnamelen, this->scriptnameattrs)
599599
dtrace:helper:ustack:
600600
/!this->done/
601601
{
602-
this->position = COPYIN_UINT32(this->shared + V8_OFF_SHARED_FUNTOK);
602+
this->position = COPYIN_UINT32(this->shared + V8_OFF_SHARED_FUNIDENT);
603603
this->line_ends = COPYIN_PTR(this->script + V8_OFF_SCRIPT_LENDS);
604604
this->map = V8_MAP_PTR(COPYIN_PTR(this->line_ends + V8_OFF_HEAPOBJ_MAP));
605605
this->le_attrs = COPYIN_UINT8(this->map + V8_OFF_MAP_ATTRS);

0 commit comments

Comments
 (0)