HiPE glue: amd64 bug in handle_trap
Mon Sep 27 18:26:10 CEST 2010
Paul Guyot writes:
> I suspect that there is a bug here:
> As mentioned on line 390, N_ARITY is a 32 bits value. The instruction line 405 should probably be replaced with:
> movl %eax, P_NARITY(P) # Note: narity is a 32-bit field
Thanks. Yes it's a bug, and there's a similar one in hipe_ppc_glue.S.
I'll send a patch in a few minutes.
More information about the erlang-bugs