Commit Graph

3148 Commits

Author SHA1 Message Date
Steve Akinyemi
76f6d3c33c Fix emscripten imports 2019-01-17 23:19:14 +01:00
Lachlan Sneff
b7b6e9e319 Fix formatting 2019-01-17 14:14:06 -08:00
Lachlan Sneff
93d0918122 Passing all spectests 2019-01-17 14:13:28 -08:00
Lachlan Sneff
1dbbaa30b6 Get most spectests passing 2019-01-17 13:11:53 -08:00
Brandon Fish
c74eed8a06 Add data and data finalizer to Ctx (#95)
* Add data and data finalizer to Ctx

* Make data_finalizer optional
2019-01-17 10:22:50 -08:00
Lachlan Sneff
bb9ed66cea Split codegen into multiple modules 2019-01-16 17:59:12 -08:00
Lachlan Sneff
5872d879f9 Local/Import index differentiation 2019-01-16 10:26:10 -08:00
Brandon Fish
de1da689f8 Add imported globals 2019-01-13 16:45:36 -06:00
Brandon Fish
185394cf1a Add tables non-imported branch implementation 2019-01-13 16:34:26 -06:00
Lachlan Sneff
b7350a991c Fix compile errors 2019-01-13 16:52:25 -05:00
Lachlan Sneff
bef2b05354 Fix some mutability issues (WIP) 2019-01-13 16:44:20 -05:00
Brandon Fish
902df8b303 Add imported tables 2019-01-13 10:46:04 -06:00
Lachlan Sneff
a9e58203f2 Remove generated spectest codes from repo. 2019-01-12 23:48:21 -05:00
Lachlan Sneff
a7ffb44bbc Rework imports 2019-01-12 22:02:19 -05:00
Lachlan Sneff
f5c5f777c0 Make vm::Ctx::new unsafe 2019-01-12 18:04:50 -05:00
Lachlan Sneff
9fab2ea5df Fix misleading comment 2019-01-12 18:02:47 -05:00
Lachlan Sneff
f08f49fa38 Fix formatting 2019-01-12 17:53:17 -05:00
Lachlan Sneff
a983e9ce8b Rearrange some apis 2019-01-12 17:52:14 -05:00
Lachlan Sneff
60201ea7a6 Check if memory description fits imported memory 2019-01-12 16:45:32 -05:00
Lachlan Sneff
80a1fce329 Redesign import namespaces 2019-01-12 16:24:21 -05:00
Brandon Fish
8a0ea0b66d Adding imported memories 2019-01-12 14:34:23 -06:00
Brandon Fish
8d2dacaba3 Add a failing test for stack overflow 2019-01-12 13:07:11 -06:00
Lachlan Sneff
a3b3523a78 Fix broken test that was creating a stack overflow 2019-01-12 09:51:32 -05:00
Syrus
e236e2f9b6 Merge branch 'master' into feature/vm_refactor 2019-01-10 21:55:44 -08:00
Syrus
34869ff3c8 Fixed emscripten emtests env var name 2019-01-10 21:52:14 -08:00
Syrus
0b48374682 Fixed Makefile emtests generator 2019-01-10 21:46:02 -08:00
Syrus
a358ab7a35 Merge branch 'feature/vm_refactor' into feature/vm_refactor_emscripten_lib 2019-01-10 21:38:57 -08:00
Syrus
de459fa5bd Isolated emscripten in new lib 2019-01-10 21:38:10 -08:00
Lachlan Sneff
230e43a894 Rewrite exports and imports 2019-01-10 23:00:05 -05:00
Syrus
e11b8c5599 Improved fast-tests feature to skip slow big-test compilation 2019-01-10 11:38:57 -08:00
Lachlan Sneff
2e26f8547e Fix arithmetic NaN handling in f32.nearest and f64.nearest 2019-01-10 12:20:23 -05:00
Lachlan Sneff
c44dcfec2b call_indirect checks signature structural equality instead of nominal equality 2019-01-10 11:26:52 -05:00
Lachlan Sneff
e7e62cb6b7 Down to 30 failing spectests 2019-01-09 23:43:18 -05:00
Lachlan Sneff
874df337c0 Merge branch 'feature/vm_refactor' of github.com:wasmerio/wasmer into feature/vm_refactor 2019-01-09 21:15:08 -05:00
Lachlan Sneff
0c6f76a8ef Fix more spectests 2019-01-09 21:14:35 -05:00
Brandon Fish
3e641d9f89 Updates to get wasmer crate compiling 2019-01-09 19:45:48 -06:00
Lachlan Sneff
985e2b2f42 Fix support for floating point numbers 2019-01-09 20:32:02 -05:00
Lachlan Sneff
e72aeddc60 Remove unnecessary stuff 2019-01-09 18:38:39 -05:00
Lachlan Sneff
8c74d0a551 Push debugging stuff to help debug calls not working 2019-01-09 18:32:13 -05:00
Brandon Fish
14c9512cf4 Remove old src/runtime and src/compilers directories 2019-01-09 00:49:11 -06:00
Lachlan Sneff
d696f9e6c8 Add spectests 2019-01-09 01:06:24 -05:00
Lachlan Sneff
2a29c361d3 Next go at spectests 2019-01-08 23:59:55 -05:00
Lachlan Sneff
f0a2f1f3dc Initial spectests implementation 2019-01-08 23:50:37 -05:00
Lachlan Sneff
cfaa9ff494 Improve imports ergonomics 2019-01-08 22:23:07 -05:00
Lachlan Sneff
82771673b5 Make function imports unsafe 2019-01-08 22:09:09 -05:00
Lachlan Sneff
bba168e61e Support imported functions 2019-01-08 21:57:28 -05:00
Lachlan Sneff
7324c85749 Add clif-backend crate and runtime example 2019-01-08 16:04:03 -05:00
Lachlan Sneff
8a73ff71af Add separated runtime crate 2019-01-08 12:10:07 -05:00