mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 02:03:53 +00:00
Patch up another place where the newly-expanded 'closure-ptr' implicit arg needs to be passed. Amazingly, it mostly-worked without this. On some platforms.
This commit is contained in:
parent
1ffcb7d21d
commit
e85f6ca4d3
@ -784,7 +784,8 @@ let crawl_stack_calling_glue
|
||||
(codefix skip_jmp_fix)); (* if glue-fn is nonzero *)
|
||||
add ecx esi; (* add crate ptr to disp. *)
|
||||
push (ro ebp); (* frame-arg *)
|
||||
push (c task_ptr); (* form usual call to glue *)
|
||||
push (immi 0L); (* null closure-ptr *)
|
||||
push (c task_ptr); (* self-task ptr *)
|
||||
push (immi 0L); (* outptr *)
|
||||
emit (Il.call (rc eax)
|
||||
(reg_codeptr (h ecx))); (* call glue_fn, trashing eax. *)
|
||||
|
Loading…
Reference in New Issue
Block a user