Skip to content

Commit cfe3d2d

Browse files
authored
Update thunktemplates.S (#100066)
1 parent c1fc1ee commit cfe3d2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/vm/arm/thunktemplates.S

Lines changed: 1 addition & 1 deletion
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)