public interface ForeignCallsProvider
foreign calls
.Modifier and Type | Method and Description |
---|---|
boolean |
canDeoptimize(ForeignCallDescriptor descriptor)
Determines if deoptimization can occur during a given foreign call.
|
LocationIdentity[] |
getKilledLocations(ForeignCallDescriptor descriptor)
Gets the set of memory locations killed by a given foreign call.
|
boolean |
isReexecutable(ForeignCallDescriptor descriptor)
Determines if a given foreign call is side-effect free.
|
ForeignCallLinkage |
lookupForeignCall(ForeignCallDescriptor descriptor)
Gets the linkage for a foreign call.
|
boolean isReexecutable(ForeignCallDescriptor descriptor)
LocationIdentity[] getKilledLocations(ForeignCallDescriptor descriptor)
LocationIdentity.any()
denotes that the call kills all memory locations. Returning
any empty array denotes that the call does not kill any memory locations.boolean canDeoptimize(ForeignCallDescriptor descriptor)
ForeignCallLinkage lookupForeignCall(ForeignCallDescriptor descriptor)