Truffle API Cleanup

Stefan Marr java at stefan-marr.de
Sun Jan 26 14:20:59 PST 2014


Hi Christian:

On 26 Jan 2014, at 23:05, Christian Wimmer <christian.wimmer at oracle.com> wrote:

> contains some Truffle API changes: We reduced the visibility of classes and constructors that are not supposed to be used by language implementers. For example, Frame objects must always be created using the factory methods in the class Truffle, so the Default*Frame classes are now non-public.
> 
> The same hold for the class DefaultCallTarget. In order to have a public subclass of CallTarget that allows access to the RootNode that is called, we factored that part out into the new class RootCallTarget.

Thanks, already adopt that one.

That change made me wonder wether a language implementation should have any dependencies on com.oracle.api.truffle.api.impl?
I am still using DefaultSourceSection from that package.

Best regards
Stefan


-- 
Stefan Marr
INRIA Lille - Nord Europe
http://stefan-marr.de/research/





More information about the graal-dev mailing list