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 LocationlocationForValueUpcast(Object value, Location oldLocation) protected LocationmoveLocation(Location oldLocation) newBooleanLocation(boolean useFinal) protected Locations.DeclaredDualLocationnewDeclaredDualLocation(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, newDualLocationForValueMethods inherited from class com.oracle.truffle.api.object.Shape.Allocator
declaredLocation, locationForType, locationForType, locationForValue, locationForValue
-
Constructor Details
-
BasicAllocator
-
BasicAllocator
-
-
Method Details
-
moveLocation
- Specified by:
moveLocationin classShapeImpl.BaseAllocator
-
newObjectLocation
- Specified by:
newObjectLocationin classShapeImpl.BaseAllocator
-
newTypedObjectLocation
- Specified by:
newTypedObjectLocationin classShapeImpl.BaseAllocator
-
newIntLocation
- Specified by:
newIntLocationin classShapeImpl.BaseAllocator
-
newDoubleLocation
- Specified by:
newDoubleLocationin classShapeImpl.BaseAllocator
-
newLongLocation
- Specified by:
newLongLocationin classShapeImpl.BaseAllocator
-
newBooleanLocation
- Specified by:
newBooleanLocationin classShapeImpl.BaseAllocator
-
locationForValueUpcast
- Specified by:
locationForValueUpcastin classShapeImpl.BaseAllocator
-
newDeclaredDualLocation
- Overrides:
newDeclaredDualLocationin classShapeImpl.BaseAllocator
-