[erlang-patches] Fix hibernate with HiPE
Sat Oct 16 19:14:18 CEST 2010
Le 11 oct. 2010 à 14:55, Björn Gustavsson a écrit :
> There is a compilation warning:
> beam/bif.c: In function ‘hibernate_3’:
> beam/bif.c:1105: warning: assignment makes integer from pointer without a cast
> It's the following line:
> BIF_P->def_arg_reg = BIF_P->i;
Thank you for your e-mail. I have fixed this warning by using a proper cast. Since such casts are normally found in macros defined in bif.h, I added a new macro for hibernate_3 (that just sets BIF_P->i and leaves arity untouched), so all TRAP-related code is in a single place. I believe this should ease halfword emulator work.
The new (combined) commit is here:
git fetch git://github.com/pguyot/otp.git fix-hibernate-with-hipe branch
Also, I noticed in the "Currently in the 'pu' branch" page (http://erlang.github.com/otp/) that there is "1 line with whitespace errors.". While I guess what a line with whitespace errors could be, how can I figure out which line it is ?
+33.175000290 - 62 bis rue Gay-Lussac, 75005 Paris
More information about the erlang-patches