Package com.oracle.truffle.object.basic
Class BasicAllocator
java.lang.Object
com.oracle.truffle.api.object.Shape.Allocator
com.oracle.truffle.object.ShapeImpl.BaseAllocator
com.oracle.truffle.object.basic.BasicAllocator
-
Field Summary
Fields inherited from class com.oracle.truffle.object.ShapeImpl.BaseAllocator
depth, hasPrimitiveArray, layout, objectArraySize, objectFieldSize, primitiveArraySize, primitiveFieldSize
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Location
locationForValueUpcast
(Object value, Location oldLocation) protected Location
moveLocation
(Location oldLocation) newBooleanLocation
(boolean useFinal) protected Locations.DeclaredDualLocation
newDeclaredDualLocation
(Object value) newDoubleLocation
(boolean useFinal) newIntLocation
(boolean useFinal) newLongLocation
(boolean useFinal) newObjectLocation
(boolean useFinal, boolean nonNull) newTypedObjectLocation
(boolean useFinal, Class<?> type, boolean nonNull) Methods inherited from class com.oracle.truffle.object.ShapeImpl.BaseAllocator
addLocation, advance, constantLocation, locationForType, locationForValue, newDualLocation, newDualLocationForValue
Methods inherited from class com.oracle.truffle.api.object.Shape.Allocator
declaredLocation, locationForType, locationForType, locationForValue, locationForValue
-
Constructor Details
-
BasicAllocator
-
BasicAllocator
-
-
Method Details
-
moveLocation
- Specified by:
moveLocation
in classShapeImpl.BaseAllocator
-
newObjectLocation
- Specified by:
newObjectLocation
in classShapeImpl.BaseAllocator
-
newTypedObjectLocation
- Specified by:
newTypedObjectLocation
in classShapeImpl.BaseAllocator
-
newIntLocation
- Specified by:
newIntLocation
in classShapeImpl.BaseAllocator
-
newDoubleLocation
- Specified by:
newDoubleLocation
in classShapeImpl.BaseAllocator
-
newLongLocation
- Specified by:
newLongLocation
in classShapeImpl.BaseAllocator
-
newBooleanLocation
- Specified by:
newBooleanLocation
in classShapeImpl.BaseAllocator
-
locationForValueUpcast
- Specified by:
locationForValueUpcast
in classShapeImpl.BaseAllocator
-
newDeclaredDualLocation
- Overrides:
newDeclaredDualLocation
in classShapeImpl.BaseAllocator
-