Skip to content

Commit 6f91603

Browse files
committed
simplify parseInCurrentLayer criteria
1 parent 9ffab4f commit 6f91603

File tree

1 file changed

+1
-4
lines changed
  • substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/code

1 file changed

+1
-4
lines changed

substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/code/CompileQueue.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -985,11 +985,8 @@ public void scheduleDeoptTargets() {
985985
}
986986

987987
private static boolean parseInCurrentLayer(HostedMethod method) {
988-
if (method.wrapped.isInBaseLayer() && !method.wrapped.reachableInCurrentLayer()) {
989-
return false;
990-
}
991988
var hasAnalyzedGraph = method.wrapped.getAnalyzedGraph() != null;
992-
if (!hasAnalyzedGraph && method.wrapped.reachableInCurrentLayer() && HostedImageLayerBuildingSupport.buildingExtensionLayer()) {
989+
if (!hasAnalyzedGraph && method.wrapped.reachableInCurrentLayer()) {
993990
ImageLayerLoader imageLayerLoader = HostedImageLayerBuildingSupport.singleton().getLoader();
994991
hasAnalyzedGraph = imageLayerLoader.hasStrengthenedGraph(method.wrapped);
995992
}

0 commit comments

Comments
 (0)