Truffle API Cleanup
Christian Wimmer
christian.wimmer at oracle.com
Sun Jan 26 14:24:24 PST 2014
On 1/26/2014 2:17 PM, Stefan Marr wrote:
> 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.
There are a few class, like your DefaultSourceSection, that we need to
move to different package. Ultimately, there should not be any
dependencies to the "api.impl" package.
-Christian
More information about the graal-dev
mailing list