Extract JVM descriptors type mapping from backend to core

Also unbind it from ASM types
This commit is contained in:
Denis Zharkov
2016-04-20 15:40:52 +03:00
parent 12bbbb6ff1
commit 8cf29ea4f3
8 changed files with 338 additions and 223 deletions
@@ -31,5 +31,6 @@ private val ALWAYS_NULL: (Any?) -> Any? = { null }
fun <T, R: Any> alwaysNull(): (T) -> R? = ALWAYS_NULL as (T) -> R?
val DO_NOTHING: (Any?) -> Unit = { }
val DO_NOTHING_3: (Any?, Any?, Any?) -> Unit = { x, y, z -> }
fun <T> doNothing(): (T) -> Unit = DO_NOTHING