HiPE glue: amd64 bug in handle_trap

Paul Guyot <>
Mon Sep 27 16:38:51 CEST 2010


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 

Semiocast                    http://semiocast.com/
+33.175000290 - 62 bis rue Gay-Lussac, 75005 Paris

More information about the erlang-bugs mailing list