Skip to content

Commit 8f9e738

Browse files
geektargos
authored andcommitted
src: update ustack offset identifiers
PR-URL: #15362 Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
1 parent a7487c9 commit 8f9e738

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)