Class SpecializationGroup
java.lang.Object
com.oracle.truffle.dsl.processor.parser.SpecializationGroup
Class creates groups of specializations to optimize the layout of generated executeAndSpecialize
and generic execute methods.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SpecializationGroupcreate(List<SpecializationData> specializations) getLast()intintbooleanbooleanisEmpty()booleanisLast()voidsetFallthrough(boolean hasFallthrough) toString()
-
Method Details
-
isEmpty
public boolean isEmpty() -
getAllGuards
-
collectSpecializations
-
getParent
-
getTypeGuards
-
getGuards
-
getChildren
-
getSpecialization
-
create
-
toString
-
getPreviousGroup
-
getUncheckedSpecializationIndex
public int getUncheckedSpecializationIndex() -
getMaxSpecializationIndex
public int getMaxSpecializationIndex() -
getPrevious
-
getAllSpecializations
-
isLast
public boolean isLast() -
getLast
-
setFallthrough
public void setFallthrough(boolean hasFallthrough) -
hasFallthrough
public boolean hasFallthrough()
-