Skip to content

Commit c84b017

Browse files
committed
TEMP disable factory method inlining
1 parent b434b2d commit c84b017

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/backend/jvm/opt/InlinerHeuristics.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ class InlinerHeuristics(ppa: PostProcessorFrontendAccess, backendUtils: BackendU
251251
SyntheticForwarder
252252
else forwarderKind match {
253253
case 1 => TrivialMethod
254-
case 2 => FactoryMethod
254+
case 2 => null//FactoryMethod
255255
case 3 => BoxingForwarder
256256
case 4 => GenericForwarder
257257
}

0 commit comments

Comments
 (0)