Skip to content

Commit 909560e

Browse files
committed
[GR-43722] Add missing performReturnLinking check.
PullRequest: graal/13710
2 parents c4de3ae + 223fbe8 commit 909560e

File tree

1 file changed

+2
-0
lines changed
  • substratevm/src/com.oracle.graal.pointsto/src/com/oracle/graal/pointsto/flow

1 file changed

+2
-0
lines changed

substratevm/src/com.oracle.graal.pointsto/src/com/oracle/graal/pointsto/flow/InvokeTypeFlow.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,9 @@ protected void updateReceiver(PointsToAnalysis bb, MethodFlowsGraphInfo calleeFl
177177
if (formalReceiverFlow != null) {
178178
formalReceiverFlow.addReceiverState(bb, receiverTypeState);
179179
}
180+
}
180181

182+
if (bb.getHostVM().getMultiMethodAnalysisPolicy().performReturnLinking(callerMultiMethodKey, calleeFlows.getMethod().getMultiMethodKey())) {
181183
if (bb.optimizeReturnedParameter()) {
182184
int paramIndex = calleeFlows.getMethod().getTypeFlow().getReturnedParameterIndex();
183185
if (actualReturn != null && paramIndex == 0) {

0 commit comments

Comments
 (0)