[Wasm] Generate [K][Suspend]FunctionN on demand and support big arity

This commit is contained in:
Svyatoslav Kuzmich
2021-10-06 14:09:41 +03:00
parent 64a30cd95e
commit 1ed2748334
19 changed files with 38 additions and 468 deletions
@@ -1,5 +1,3 @@
// IGNORE_BACKEND: WASM
// WASM_MUTE_REASON: BIG_ARITY
// !LANGUAGE: +NewInference
fun foo(
@@ -1,5 +1,3 @@
// IGNORE_BACKEND: WASM
// WASM_MUTE_REASON: FUNCTION_REFERENCES
// WITH_RUNTIME
// IGNORE_BACKEND: JS
@@ -1,5 +1,3 @@
// IGNORE_BACKEND: WASM
// WASM_MUTE_REASON: BIG_ARITY
// IGNORE_BACKEND: NATIVE
var result = "Fail"
@@ -1,5 +1,3 @@
// IGNORE_BACKEND: WASM
// WASM_MUTE_REASON: BIG_ARITY
// !LANGUAGE: +FunctionTypesWithBigArity
class A(val value: Int) {
@@ -1,5 +1,3 @@
// IGNORE_BACKEND: WASM
// WASM_MUTE_REASON: BIG_ARITY
// !LANGUAGE: +FunctionTypesWithBigArity
// IGNORE_BACKEND: JS_IR, JS
// IGNORE_BACKEND: JS_IR_ES6
@@ -1,5 +1,3 @@
// IGNORE_BACKEND: WASM
// WASM_MUTE_REASON: BIG_ARITY
// !LANGUAGE: +FunctionTypesWithBigArity
class A
@@ -1,5 +1,3 @@
// IGNORE_BACKEND: WASM
// WASM_MUTE_REASON: BIG_ARITY
// !LANGUAGE: +FunctionTypesWithBigArity
class A(val value: Int)
@@ -1,5 +1,3 @@
// IGNORE_BACKEND: WASM
// WASM_MUTE_REASON: BIG_ARITY
// !LANGUAGE: +FunctionTypesWithBigArity
class A {
@@ -1,5 +1,3 @@
// IGNORE_BACKEND: WASM
// WASM_MUTE_REASON: BIG_ARITY
interface A
object O : A
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: WASM
inline class Z(val value: Long)