Skip to content

Commit 9e6ba1f

Browse files
Update thunktemplates.S (#100151)
Co-authored-by: Filip Navara <[email protected]>
1 parent dc0fcc0 commit 9e6ba1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/vm/arm/thunktemplates.S

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
PAGE_SIZE = 4096
1313

14-
#define DATA_SLOT(stub, field) stub##Code + PAGE_SIZE + stub##Data__##field
14+
#define DATA_SLOT(stub, field) . - (. - stub##Code) + PAGE_SIZE + stub##Data__##field
1515

1616
LEAF_ENTRY StubPrecodeCode
1717
ldr r12, DATA_SLOT(StubPrecode, MethodDesc)

0 commit comments

Comments
 (0)