[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lightning] jit_pusharg_p: small bug
From: |
Ludovic Courtès |
Subject: |
Re: [Lightning] jit_pusharg_p: small bug |
Date: |
Mon, 12 Sep 2005 13:03:11 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) |
Paolo Bonzini <address@hidden> writes:
>>> Therefore I suggest rewriting the above macro as:
>>>
>>> #define jit_pusharg_p(rs) jit_pusharg_ul((unsigned long)rs)
>>
>> Right, thanks. Indeed that's the main purpose of having a _p
>> variant, since lightning assumes (just like everybody except
>> Microsoft) that sizeof (long) == sizeof (void *).
>
> No, wait I was not thinking. jit_pusharg_p takes a *register number".
You mean there's a bug in my piece of code? Hmm, sorry about that. ;-)
Thanks,
Ludovic.