[jit] Major API change: blocks rather than labels
David Malcolm
dmalcolm@redhat.com
Wed Jan 1 00:00:00 GMT 2014
On Thu, 2014-02-27 at 17:25 -0500, David Malcolm wrote:
> On Thu, 2014-02-27 at 17:11 -0500, David Malcolm wrote:
>
> [...]
>
> > With this commit, the API changes to using basic blocks instead: blocks
> > are created within functions, and statements are added to blocks, rather
> > than to functions.
>
> [...]
>
> I've also ported the "jittest" example to the new API, as of this
> commit:
> https://github.com/davidmalcolm/jittest/commit/af66efe0386e52a9292b7527174ae402c0af5e43
>
> (though currently it falls foul of type-checking, due to int vs bool
> issues in conditionals; upon hacking out the type-checking from
> libgccjit it compiles and runs OK).
jittest is now fixed, as of:
https://github.com/davidmalcolm/jittest/commit/7af0765c018e15d600016d41f7b444273cc0389a
More information about the Jit
mailing list