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).

I haven't yet ported the Python bindings.

Dave

Reply via email to