IR: create more temporary vals when optimizing tailrec calls

This is needed so that SharedVariablesLowering doesn't get confused, and
SharedVariablesLowering should run after TailrecLowering to properly
optimize tailrec calls in inline lambdas.
This commit is contained in:
pyos
2021-09-06 12:15:20 +02:00
committed by Mikhael Bogdanov
parent b2315a4a05
commit 7c63d50d1c
7 changed files with 26 additions and 59 deletions
@@ -1,5 +1,3 @@
// IGNORE_BACKEND: JS_IR, WASM
interface IFoo {
fun foo(): String
}