[mini] Add skeleton WebAssembly mini backend. It's not functional and some code needs...
authorRodrigo Kumpera <kumpera@gmail.com>
Tue, 22 Aug 2017 23:24:53 +0000 (16:24 -0700)
committerRodrigo Kumpera <kumpera@gmail.com>
Wed, 23 Aug 2017 23:04:58 +0000 (16:04 -0700)
commita9107951a7a742d8652d81e08e4b7c01375ea6d6
tree09c694f3429925d66394995f06944f86ae811391
parentb85f40ba88657a7d059513827c26f1db02437a09
[mini] Add skeleton WebAssembly mini backend. It's not functional and some code needs to be shuffled to better places.

The wasm backend is inspired on the x86 one with a few key differences:

1) It assumes a different aot runtime will be used to deal with all the weirdness of wasm.
In particular, it can run under MONO_AOT_MODE_INTERP_LLVMONLY without an actual working AOT compiler.

2) It's the only non-ISA based backend, so lots of weird things.
Like, no registers or addressable stack - for realsies.
configure.ac
mono/mini/Makefile.am.in
mono/mini/aot-runtime-wasm.c [new file with mode: 0644]
mono/mini/aot-runtime.c
mono/mini/cpu-wasm.md [new file with mode: 0644]
mono/mini/exceptions-wasm.c [new file with mode: 0644]
mono/mini/genmdesc.pl [changed mode: 0644->0755]
mono/mini/mini-arch.h
mono/mini/mini-wasm.c [new file with mode: 0644]
mono/mini/mini-wasm.h [new file with mode: 0644]
mono/mini/tramp-wasm.c [new file with mode: 0644]