Skip to content

Commit 59ab0fd

Browse files
committed
Remove unnecessary filter.
1 parent c77a4b6 commit 59ab0fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -622,10 +622,10 @@ protected void apply(boolean forceReparse, Object reason) {
622622

623623
if (bb.getHostVM().useBaseLayer() && method.isInBaseLayer()) {
624624
/*
625-
* We don't need to analyze this method. We already know it's return type state from the
625+
* We don't need to analyze this method. We already know its return type state from the
626626
* open world analysis. We just install a return flow to link it with its uses.
627627
*/
628-
AnalysisType returnType = TypeFlow.filterUncheckedInterface(method.getSignature().getReturnType());
628+
AnalysisType returnType = method.getSignature().getReturnType();
629629
if (returnType.getJavaKind().isObject()) {
630630
// GR-52421: the return type state should not be all-instantiated, it should be the
631631
// persisted result of the open-world analysis

0 commit comments

Comments
 (0)