Commit Graph

44 Commits

Author SHA1 Message Date
051d435423 Warnings and unused code cleanup 2019-04-12 10:27:14 -07:00
8b5da1d86e Update cranelift backend to new backend abstraction 2019-04-12 09:58:29 -07:00
09068c1a74 clean up implementation 2019-03-27 14:01:27 -07:00
a0809dedbf change formatting to match syscalls 2019-03-26 16:57:58 -07:00
9c58bed344 add support for symbol maps 2019-03-26 16:41:40 -07:00
4e198bca8b merge upstream/master into wasmer-private/feature/llvm-backend 2019-03-04 13:03:32 -08:00
42c9bdf8c2 fix(clif-backend) Remove an unused variable declaration.
The `compiled_functions` variable is declared twice. The first
declaration is never used. This patch removes it.
2019-03-04 13:59:37 +01:00
c5c967da00 Added parallel compilation (#209) 2019-02-25 12:03:48 -08:00
07c8975304 Fix clif backend 2019-02-22 16:20:26 -08:00
df03d00e74 Merge upstream/master into feature/llvm-feature 2019-02-22 14:14:46 -08:00
9f40eedba8 Get caching working again 2019-02-20 16:41:41 -08:00
82eea00a02 Saved 2019-02-19 15:36:22 -08:00
3c7dc200fa close to working 2019-02-19 09:58:01 -08:00
2d87f64f82 Merge master into feature/llvm-backend 2019-02-14 15:47:28 -08:00
6a1fdb7f91 add windows exception handling in C (#175) 2019-02-14 09:58:33 -08:00
4311a37def Fixed simple spectests example compilation 2019-02-09 20:13:58 -08:00
227d5e24cf Moved ctx to first argument in Cranelift backend 2019-02-09 14:18:53 -08:00
aa90a33501 Make module info store FuncSig, not Arc<FuncSig> 2019-02-08 14:19:58 -08:00
9a56680281 fix windows linking and appveyor build (#166) 2019-02-08 13:51:29 -08:00
46ac4e9e1a reorganize signal module and leave stubs in windows (#162) 2019-02-07 17:08:42 -08:00
8fe9b7eac2 Add caching. (#134)
* Allow a module to have a different signature registry than the process-specific

* Add core ability to build compiled code caches

* Remove timing printouts

* Serialize/Deserialize memories to reduce copies

* Work more on api

* Relocate local functions relatively before external functions

* Fix incorrect definition in test

* merge errors caused by merge

* Fix emscripten compile

* Fix review comments
2019-02-06 16:26:45 -08:00
2f2f86a4de Add feature flag to output debug information while running wasm (#147)
* Generate debug info during execution

* feature cfg debug output
2019-02-06 15:43:27 -08:00
5aa7d71ede Merge branch 'master' into feature/improve-importing 2019-01-29 10:28:18 -08:00
e4686e67c4 Add importable memories and dynamic memories 2019-01-25 15:28:54 -08:00
65872a1be4 Cherry-picked fix 2019-01-25 10:23:26 -08:00
7632beced8 Add generic range bounds to mmap (#110) 2019-01-23 09:37:56 -08:00
38b0fbf3c5 Generate trampolines to call exported functions instead of using libffi (#108)
* remove codegen.rs

* Add export trampolines and remove libffi

* Remove unused extern crates
2019-01-22 15:00:27 -08:00
74875ed554 Library restructure (#104)
* Move wasmer-runtime to wasmer-runtime-core

* Add the runtime library

* Fix issue with macros using wasmer_runtime, fmt

* Make default compiler dependency optional

* Add instantiate and validate functions
2019-01-22 11:02:06 -08:00
69fd93937c merge vm_refactor_trap_handling into vm_refactor 2019-01-21 13:53:33 -08:00
b74a08f097 Add (hopefully-working) support for windows 2019-01-21 11:51:41 -08:00
3399dddb5b cargo fmt 2019-01-20 09:52:54 -06:00
e245742251 Remove commented out code 2019-01-20 09:43:43 -06:00
ebeea0c71c handle traps naively 2019-01-18 16:45:30 -08:00
8a9f5fa61a Add special error types for compile, linking, and runtime errors. (#99)
* Add error types and convert most results to wasmer-runtime results

* Fix spectests

* Fix umbrella project to work with new error types
2019-01-18 10:54:16 -08:00
d23601a810 Add error types and convert most results to wasmer-runtime results 2019-01-18 09:17:44 -08:00
1dbbaa30b6 Get most spectests passing 2019-01-17 13:11:53 -08:00
bb9ed66cea Split codegen into multiple modules 2019-01-16 17:59:12 -08:00
5872d879f9 Local/Import index differentiation 2019-01-16 10:26:10 -08:00
a7ffb44bbc Rework imports 2019-01-12 22:02:19 -05:00
230e43a894 Rewrite exports and imports 2019-01-10 23:00:05 -05:00
985e2b2f42 Fix support for floating point numbers 2019-01-09 20:32:02 -05:00
8c74d0a551 Push debugging stuff to help debug calls not working 2019-01-09 18:32:13 -05:00
bba168e61e Support imported functions 2019-01-08 21:57:28 -05:00
7324c85749 Add clif-backend crate and runtime example 2019-01-08 16:04:03 -05:00