Nicholas Clark wrote:
On Sat, Nov 09, 2002 at 11:09:39AM -0000, [EMAIL PROTECTED] wrote:
- interpreter->ctx.int_reg_base->prev = NULL;
It's not likely to be a portability problem, as I seem to remember that the C
FAQ is only able to mention one very obscure platform where NULL was not all
bits zero in memory.
Yep C-FAQ 5.17 lists these machines (Prime50, Eclipse MV, CDC 180, old HP 3000)
To NULL or not to NULL, this is the question.
I believe that a bigger assumption (not sure if we're making it; didn't spot it) is that float 0.0 and double 0.0 are written as all bits zero in memory.
NRegs were memset to 0, Parrot_clear_n() sets them to 0.0.
But we seem to have a real problem WRT JIT and floats. Some perl6 tests still break, when run through -j. I could imagine different float formats for 80/64 bit floats is the reason.
Nicholas Clark
leo