Commit Graph

51 Commits

Author SHA1 Message Date
6e974b92cd Run cargo fmt 2020-08-13 18:12:43 -07:00
5049c543dc Rename wasm-common crate to wasmer-types 2020-08-13 17:59:26 -07:00
a732159514 Use better naming for module functions 2020-07-26 12:02:45 -07:00
92f8651312 Renamed wasmer_runtime to wasmer_vm 2020-07-07 21:26:06 -07:00
b57a28edc7 Removed Memory plans in favor of direct styles 2020-07-07 16:50:08 -07:00
98f2e8fe26 Remove TablePlans 2020-07-07 15:10:03 -07:00
e604d6db49 Fixed linting 2020-06-18 13:08:52 -07:00
422051ebe5 Simplified compiler config names 2020-06-18 01:36:25 -07:00
8649f2eb79 Remove target from CompilerConfig 2020-06-17 20:26:50 -07:00
e062e87d8b Refactored Compilers 2020-06-17 19:17:06 -07:00
9d27bd2318 Merge remote-tracking branch 'origin/master' into middleware 2020-06-18 00:41:42 +08:00
2efa44396e Apply suggestions from code review
Co-authored-by: nlewycky <nick@wasmer.io>
2020-06-16 22:07:37 -07:00
03494ac1a2 Unify trampolines in Compilation object 2020-06-16 20:11:47 -07:00
69ce68c31a Merge remote-tracking branch 'origin/master' into middleware 2020-06-17 00:52:20 +08:00
1144222d15 Middleware for cranelift. 2020-06-16 00:56:35 +08:00
f0c8542e1e Address comments from PR 2020-06-13 09:49:57 -07:00
274fa1944f Removed unused code 2020-06-11 09:36:13 -07:00
ff8f3c8948 Autodetect endianness based on target triple 2020-06-11 00:31:04 -07:00
b463f738a2 Improved unwind generation in cranelift 2020-06-10 23:33:11 -07:00
360407423a Merge branch 'master' into cranelift-update
# Conflicts:
#	lib/engine-jit/src/code_memory.rs
#	lib/engine-jit/src/engine.rs
2020-06-10 23:06:01 -07:00
dbd37e6740 Cranelift in Unix working all the way with unwind info 2020-06-10 22:33:25 -07:00
e2cafd07da Improved compilation with Dwarf 2020-06-10 21:37:36 -07:00
eaf85c2bfe Added partial support for EH_FRAME in Cranelift for unwind 2020-06-10 20:44:44 -07:00
803c896946 Merge branch 'master' into cranelift-update
# Conflicts:
#	lib/compiler-cranelift/Cargo.toml
#	lib/compiler-cranelift/src/debug/mod.rs
#	lib/compiler-cranelift/src/lib.rs
#	lib/compiler/src/unwind.rs
#	lib/engine-jit/src/code_memory.rs
#	lib/engine-jit/src/function_table.rs
#	lib/engine-jit/src/lib.rs
#	lib/wasm-common/Cargo.toml
2020-06-09 18:44:41 -07:00
ce2379622a chore(compiler-cranelift) It's cheaper to copy TargetFrontendConfig rather than ref.
Learn more at https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref.
2020-06-09 14:39:06 +02:00
abbd39c50b Refactor trampoline compilation 2020-05-29 19:37:03 -07:00
09e057338a Renamed Module to ModuleInfo 2020-05-19 18:47:50 -07:00
5dfa9faafb Improve compiler names for trampoline functions 2020-05-17 20:32:42 -07:00
2bbceeb239 Moved DynamicFunctionImportContext abstraction into runtime 2020-05-16 03:10:24 -07:00
f38720337f Reverse trampoline static generation now works! 🎉 2020-05-14 19:28:36 -07:00
1c21e4f927 Make host trampolines work (PoC) 2020-05-13 20:53:54 -07:00
e77cbd8b94 Deny many warnings in CI; fix warnings 2020-05-13 12:44:34 -07:00
8ccf7057fa Make cranelift happy 2020-05-04 21:34:38 -07:00
f5a427adee Refactor cranelift a bit for code clarity 2020-05-04 19:18:05 -07:00
0bd6a0dd6b Renamed FuncIndex to FunctionIndex 2020-05-04 13:39:12 -07:00
2997be7d88 Renamed FuncType to FunctionType 2020-05-04 13:34:05 -07:00
e3d77dcf8a Force jump tables to be for local functions 2020-05-02 04:49:57 -07:00
deace5beb0 Renamed back into LocalFunc 2020-05-02 04:43:31 -07:00
fdef870e5a Renamed UserFunc to ImportedFunc 2020-05-02 04:19:11 -07:00
eef5d1a901 Make compilers use FunctionBody for trampolines 2020-05-01 18:28:59 -07:00
c1c06591a0 Refactored FunctionBody into compiler 2020-05-01 16:51:47 -07:00
baf5e04f6b Merge branch 'master' into frame-info
# Conflicts:
#	lib/compiler/src/function.rs
#	lib/compiler/src/lib.rs
2020-05-01 11:50:34 -07:00
c33a368ff8 Added custom sections
Based on this document:

https://www.notion.so/wasmer/Compiler-Refactor-Proposal-c678a73b0e2c4572834d2dba21263916
2020-05-01 11:23:22 -07:00
cebf727e80 Move frame info into it’s own field 2020-04-30 21:23:37 -07:00
f62f475309 Return Features & Target by reference in Compiler 2020-04-22 11:07:45 -07:00
cdd51ad14a Improved imports 2020-04-21 23:24:50 -07:00
feef35364b Renamed *Defined into *Local for better clarity 2020-04-21 23:19:33 -07:00
1ce055cb5a Various improvements 2020-04-21 23:13:06 -07:00
b360bd40bb Move SourceLoc into compiler 2020-04-21 23:05:58 -07:00
68b500ad84 Moved TrapInformation to the Compiler 2020-04-21 23:01:43 -07:00