Skip to content

Commit 7edffaa

Browse files
committed
Direct saturation check though methodFlow.
1 parent 32c0085 commit 7edffaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

substratevm/src/com.oracle.graal.pointsto/src/com/oracle/graal/pointsto/results/StrengthenGraphs.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ private void handleInvoke(Invoke invoke, SimplifierTool tool) {
675675
/* Last resort, try to inject profiles optimistically. */
676676
TypeState receiverTypeState = null;
677677
if (invokeFlow.getTargetMethod().hasReceiver()) {
678-
if (invokeFlow.isSaturated()) {
678+
if (methodFlow.isSaturated((PointsToAnalysis) bb, invokeFlow)) {
679679
/*
680680
* For saturated invokes use all seen instantiated subtypes of target method
681681
* declaring class. In an open world this is incomplete as new types may be

0 commit comments

Comments
 (0)