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

Anthony Green <[email protected]> Wed, 22 Jun 2016 08:28:10 -0400
Newsgroups gmane.comp.gcc.java.patches
Message-ID <[email protected]>
Matthew Fortune <[email protected]> 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