Search in sources :

Example 1 with LayoutImpl

use of com.oracle.truffle.object.LayoutImpl in project graal by oracle.

the class BasicLayout method createAllocator.

@Override
public Allocator createAllocator() {
    LayoutImpl layout = this;
    Allocator allocator = getStrategy().createAllocator(layout);
    return allocator;
}
Also used : LayoutImpl(com.oracle.truffle.object.LayoutImpl) Allocator(com.oracle.truffle.api.object.Shape.Allocator)

Aggregations

Allocator (com.oracle.truffle.api.object.Shape.Allocator)1 LayoutImpl (com.oracle.truffle.object.LayoutImpl)1