lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

>>>>> "Philippe" == Philippe Verdy <> writes:

 Philippe> could this be related to
 Philippe> /* maximum length of the conversion of a number to a string */
 Philippe> #define MAXNUMBER2STR   50


It's to do with the fact that the lua value is a tagged union which can
be either a 64-bit integer or 64-bit double. Optimization code which
is taking advantage of the fact that the type is known at the callsite
to produce specialized variants of the called function was confusing the
types and passing them in incorrect registers as a result.