File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -291,9 +291,10 @@ __asm(
291
291
" .long " COMPARABLE_BASE_CONFORMANCE_DESCRIPTOR " @GOTPCREL + 5\n "
292
292
#endif
293
293
// This is a direct relative reference to the associated conformance for
294
- // Equatable defined above in assembly.
294
+ // Equatable defined above in assembly. NOTE: This is minus 23 because the
295
+ // associated conformance structure is 1 aligned.
295
296
" .long ((\" " TUPLE_COMPARABLE_ASSOCIATEDCONFORMANCE " \" ) - \
296
- (" TUPLE_COMPARABLE_CONF " )) - 24 \n "
297
+ (" TUPLE_COMPARABLE_CONF " )) - 23 \n "
297
298
#if defined(__ELF__)
298
299
// This is an indirectable relative reference to the GOT equivalent for the
299
300
// Comparable.< method descriptor, hence why we add 1 to indicate indirect.
You can’t perform that action at this time.
0 commit comments