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:
Graydon Hoare 2010-07-30 19:14:42 -07:00
parent 1ffcb7d21d
commit e85f6ca4d3

View File

@ -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. *)