Interface OptimizedAssumptionDependency
- All Known Implementing Classes:
TruffleCompilerAssumptionDependency
public interface OptimizedAssumptionDependency
Represents some machine code whose validity depends on an assumption. Valid machine code can
still be executed.
-
Method Summary
Modifier and TypeMethodDescriptiondefault TruffleCompilableGets the Truffle AST whose machine code is represented by this object.booleanisAlive()Determines if the machine code referenced by this object is valid.voidonAssumptionInvalidated(Object source, CharSequence reason) Called when a depended-on assumption is invalidated, with the intention to invalidate the machine code referenced by this object.
-
Method Details
-
onAssumptionInvalidated
Called when a depended-on assumption is invalidated, with the intention to invalidate the machine code referenced by this object. -
isAlive
boolean isAlive()Determines if the machine code referenced by this object is valid. -
getCompilable
Gets the Truffle AST whose machine code is represented by this object. May benull.
-