Commit Graph

7 Commits

Author SHA1 Message Date
Jef
23b5a56a7d Fix locals not being restored properly (which may cause us to read garbage values from the stack) 2018-12-17 12:16:40 +01:00
Jef
5bb7430976 Add quickcheck, implement simple binary operations 2018-12-13 10:25:37 +01:00
Sergey Pepyakin
08240761d5 Compile a simple function (#2)
* Implement basics.

* Execute code

* Add wasm2wat test cases.

* abi_loc_for_arg for stack.

* Assert that sp_depth is 0 at the epilogue

* Do 32bit add.

* Assert that RAX can be used as a scratch register

* Reuse assembler.

* Align stack slots.
2018-11-08 13:56:27 -08:00
Dan Gohman
e32144727d Update project name. 2018-10-30 12:59:49 -07:00
Dan Gohman
34646c6f1f Add some categories and keywords to Cargo.toml. 2018-10-30 10:08:47 -07:00
Dan Gohman
068f86f645 Add a basic README.md. 2018-10-30 10:07:39 -07:00
Dan Gohman
154b35ecc1 Initial experiment. 2018-10-29 12:02:01 -07:00