[Truffle] IndirectCallNode vs. another inline cache?
Christian Humer
christian.humer at gmail.com
Mon Jul 7 17:05:58 UTC 2014
Hi,
On Mon, Jul 7, 2014 at 4:29 PM, Stefan Marr <java at stefan-marr.de> wrote:
> What exactly do you plan? Do you plan support for inline caches in the
> TruffleDSL?
> Looking at the different caches I got, they look extremely similar. I
> actually tried to keep them as similar as possible, because I think that
> much of the boilerplate could be generate. It is always the same structure.
> Only the cache key, the test, the initialization/specialization logic, and
> the passed parameters, and the implementation for the general case differ.
> Around that, I got a very repetitive structure.
>
Yes. I do want to support inline caches using the DSL. I've already done
some prototyping, but it turned out that a few other issues with the DSL
have to be resolved first. I am going to fix them and the next thing on my
TODO list is going to be inline caches (a more abstract DSL feature name
would be: specialization specific state).
But maybe we are also going to push a reusable call inline cache
implementation just based on the Truffle API.
Not sure yet.
- Christian Humer
More information about the graal-dev
mailing list