public final class TruffleCompilerAssumptionDependency extends Object implements OptimizedAssumptionDependency
| Constructor and Description |
|---|
TruffleCompilerAssumptionDependency(TruffleCompilable compilation,
InstalledCode code) |
| Modifier and Type | Method and Description |
|---|---|
TruffleCompilable |
getCompilable()
Gets the Truffle AST whose machine code is represented by this object.
|
InstalledCode |
getInstalledCode() |
boolean |
isAlive()
Determines if the machine code referenced by this object is valid.
|
void |
onAssumptionInvalidated(Object source,
CharSequence reason)
Called when a depended-on assumption is invalidated, with the intention to invalidate the
machine code referenced by this object.
|
String |
toString() |
public TruffleCompilerAssumptionDependency(TruffleCompilable compilation, InstalledCode code)
public void onAssumptionInvalidated(Object source, CharSequence reason)
OptimizedAssumptionDependencyonAssumptionInvalidated in interface OptimizedAssumptionDependencypublic InstalledCode getInstalledCode()
public TruffleCompilable getCompilable()
OptimizedAssumptionDependencynull.getCompilable in interface OptimizedAssumptionDependencypublic boolean isAlive()
OptimizedAssumptionDependencyisAlive in interface OptimizedAssumptionDependency