[Wasm] Add Wasm IR

Intended to be used by Kotlin/Wasm compiler.

Includes:
 * IR tree: declarations, instructions, types.
 * Convertors: ir2text, ir2bin, bin2ir
 * Spec tests, to test convertors against reference Wabt tool
This commit is contained in:
Svyatoslav Kuzmich
2020-10-16 05:06:03 +03:00
parent 65cf991e84
commit 3be38d1796
20 changed files with 2964 additions and 4 deletions
@@ -15,6 +15,7 @@ dependencies {
compile(project(":js:js.ast"))
compile(project(":js:js.frontend"))
compile(project(":compiler:backend.js"))
compile(project(":wasm:wasm.ir"))
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
}