JVM_IR KT-47984 minor cleanup
This commit is contained in:
committed by
TeamCityServer
parent
bf362abb57
commit
9acdcc7590
@@ -71,7 +71,7 @@ internal class StackSizeCalculator(owner: String, method: MethodNode) :
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun merge(frame: Frame<out FixStackValue>, interpreter: Interpreter<FixStackValue>): Boolean {
|
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 }
|
fun getActualStackSize() = super.getStackSize() + extraStack.sumOf { it.size }
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// IGNORE_BACKEND: WASM
|
||||||
// FULL_JDK
|
// FULL_JDK
|
||||||
// WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
|
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// IGNORE_BACKEND: WASM
|
||||||
// FULL_JDK
|
// FULL_JDK
|
||||||
// WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// IGNORE_BACKEND: WASM
|
||||||
// FULL_JDK
|
// FULL_JDK
|
||||||
// WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
|
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
// IGNORE_BACKEND: WASM
|
||||||
// FULL_JDK
|
// FULL_JDK
|
||||||
// WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user