This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] interpreter use of closures and return types


Matthew Fortune <Matthew.Fortune@imgtec.com> writes:

> The root of the problem seems to be in a oddity of FFI that integer return
> values less than word (or rather register) size are returned as an
> ffi_arg.

Yes, this is expected behaviour.

> The java interpreter does not appear to adhere to this and the patch below
> seems to fix the issue. Can anyone comment if this looks like the right
> approach?

On the surface it looks good to me.

Thanks,

AG


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]