[Vm-dev] Re: Incorrect return type of positive64BitIntegerFor in FilePlugin.c

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Wed Jan 1 09:16:14 UTC 2014


2013/12/31 Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com>

> I forgot to tell this was in COG branch.
> This file is generated, and the type is inferred from
> InterpreterProxy>>positive64BitIntegerFor:
> I guess that a correct <returnTypeC:#sqInt> annotation is missing here.
>
>
> The question is why using InterpreterProxy from the plugin code generator?
I find it strange to scatter (and duplicate) C-generation hints in a code
that is not intended to be C-generated...



> 2013/12/31 Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com>
>
>> positive64BitIntegerFor return type is declared sqLong, but should be
>> sqInt (it returns an oop).
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20140101/913ede0d/attachment.htm


More information about the Vm-dev mailing list