diff --git a/substratevm/src/com.oracle.graal.pointsto/src/com/oracle/graal/pointsto/meta/PointsToAnalysisMethod.java b/substratevm/src/com.oracle.graal.pointsto/src/com/oracle/graal/pointsto/meta/PointsToAnalysisMethod.java index 360ac40b3e83..6250d4df1769 100644 --- a/substratevm/src/com.oracle.graal.pointsto/src/com/oracle/graal/pointsto/meta/PointsToAnalysisMethod.java +++ b/substratevm/src/com.oracle.graal.pointsto/src/com/oracle/graal/pointsto/meta/PointsToAnalysisMethod.java @@ -53,7 +53,6 @@ public final class PointsToAnalysisMethod extends AnalysisMethod { /** The parsing context in which given method was parsed, preserved after analysis. */ private Object parsingReason; - private Set invokedBy; private Set implementationInvokedBy; /** * Unique, per method, per multi-method key, context insensitive invoke. The context insensitive @@ -86,9 +85,6 @@ protected AnalysisMethod createMultiMethod(AnalysisMethod analysisMethod, MultiM @Override public void startTrackInvocations() { - if (invokedBy == null) { - invokedBy = ConcurrentHashMap.newKeySet(); - } if (implementationInvokedBy == null) { implementationInvokedBy = ConcurrentHashMap.newKeySet(); } @@ -101,9 +97,6 @@ public MethodTypeFlow getTypeFlow() { @Override public boolean registerAsInvoked(Object reason) { assert reason instanceof InvokeTypeFlow || reason instanceof String : reason; - if (invokedBy != null && reason instanceof InvokeTypeFlow) { - invokedBy.add((InvokeTypeFlow) reason); - } return super.registerAsInvoked(unwrapInvokeReason(reason)); } @@ -257,7 +250,6 @@ public void cleanupAfterAnalysis() { contextInsensitiveVirtualInvoke = null; contextInsensitiveSpecialInvoke = null; typeFlow = null; - invokedBy = null; implementationInvokedBy = null; }