diff options
Diffstat (limited to 'src/compiler/scala/tools/nsc/backend/opt/Inliners.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/backend/opt/Inliners.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/opt/Inliners.scala b/src/compiler/scala/tools/nsc/backend/opt/Inliners.scala index d183b3a291..1a73764719 100644 --- a/src/compiler/scala/tools/nsc/backend/opt/Inliners.scala +++ b/src/compiler/scala/tools/nsc/backend/opt/Inliners.scala @@ -480,8 +480,8 @@ abstract class Inliners extends SubComponent { * so that the first TFA that is run afterwards is able to gain more information as compared to a cold-start. */ /*val totalPreInlines = */ { // Val name commented out to emphasize it is never used - val firstRound = preInline(true) - if(firstRound == 0) 0 else (firstRound + preInline(false)) + val firstRound = preInline(isFirstRound = true) + if(firstRound == 0) 0 else (firstRound + preInline(isFirstRound = false)) } staleOut.clear() splicedBlocks.clear() @@ -869,7 +869,7 @@ abstract class Inliners extends SubComponent { r case CALL_METHOD(meth, Static(true)) if meth.isClassConstructor => - CALL_METHOD(meth, Static(true)) + CALL_METHOD(meth, Static(onInstance = true)) case _ => i.clone() } |