JVM_IR KT-47984 minor cleanup

This commit is contained in:
Dmitry Petrov
2021-08-07 08:58:22 +03:00
committed by TeamCityServer
parent bf362abb57
commit 9acdcc7590
5 changed files with 5 additions and 1 deletions
@@ -71,7 +71,7 @@ internal class StackSizeCalculator(owner: String, method: MethodNode) :
}
override fun merge(frame: Frame<out FixStackValue>, interpreter: Interpreter<FixStackValue>): Boolean {
throw UnsupportedOperationException("Stack normalization should not merge frames")
throw UnsupportedOperationException("Stack size calculator should not merge frames")
}
fun getActualStackSize() = super.getStackSize() + extraStack.sumOf { it.size }