Open kayceesrk opened 8 years ago
Caml_allocN [0] slow path expects %rax to contain the desired size. However, CMP_VAR in the fast path clobbers %rax.
Caml_allocN
%rax
CMP_VAR
[0] https://github.com/ocamllabs/ocaml-effects/blob/master/asmrun/amd64.S#L534-L537
Caml_allocN
[0] slow path expects%rax
to contain the desired size. However,CMP_VAR
in the fast path clobbers%rax
.[0] https://github.com/ocamllabs/ocaml-effects/blob/master/asmrun/amd64.S#L534-L537