@@ -256,7 +256,7 @@ pub unsafe fn swap_link(arg: usize, new_sp: StackPointer,
256
256
"={esi}" ( ret_sp)
257
257
: "s" ( trampoline as usize )
258
258
"{edi}" ( arg)
259
- "{edx}" ( * new_sp. 0 )
259
+ "{edx}" ( new_sp. offset ( 0 ) )
260
260
"{ecx}" ( new_stack_base)
261
261
: "eax" , "ebx" , "ecx" , "edx" , /*"esi", "edi", "ebp", "esp",*/
262
262
"mm0" , "mm1" , "mm2" , "mm3" , "mm4" , "mm5" , "mm6" , "mm7" ,
@@ -299,7 +299,7 @@ pub unsafe fn swap(arg: usize, new_sp: StackPointer) -> (usize, StackPointer) {
299
299
"={esi}" ( ret_sp)
300
300
: "s" ( trampoline as usize )
301
301
"{edi}" ( arg)
302
- "{edx}" ( * new_sp. 0 )
302
+ "{edx}" ( new_sp. offset ( 0 ) )
303
303
: "eax" , "ebx" , "ecx" , "edx" , /*"esi", "edi", "ebp", "esp",*/
304
304
"mm0" , "mm1" , "mm2" , "mm3" , "mm4" , "mm5" , "mm6" , "mm7" ,
305
305
"xmm0" , "xmm1" , "xmm2" , "xmm3" , "xmm4" , "xmm5" , "xmm6" , "xmm7" ,
@@ -348,7 +348,7 @@ pub unsafe fn unwind(new_sp: StackPointer, new_stack_base: *mut u8) {
348
348
:
349
349
: "s" ( trampoline as usize )
350
350
"{edi}" ( arg)
351
- "{edx}" ( * new_sp. 0 )
351
+ "{edx}" ( new_sp. offset ( 0 ) )
352
352
"{ecx}" ( new_stack_base)
353
353
: "eax" , "ebx" , "ecx" , "edx" , "esi" , "edi" , /*"ebp", "esp",*/
354
354
"mm0" , "mm1" , "mm2" , "mm3" , "mm4" , "mm5" , "mm6" , "mm7" ,
0 commit comments