Commit Graph

242 Commits

Author SHA1 Message Date
losfair
2931e6d2ac Add ReadExecute back. 2020-05-04 23:20:16 +08:00
Syrus
759561e0c5 Expose Compiler and CompilerConfig only on translator mode 2020-05-03 21:28:35 -07:00
Syrus
8b2a4495df Move WasmError to root compiler 2020-05-03 21:06:42 -07:00
Nick Lewycky
3a004b3e82 Fix build of compiler-llvm by growing the interface to SectionBody. 2020-05-03 16:08:05 -07:00
Nick Lewycky
861958a4ab Add SectionBody::as_ptr() to get the pointer to the section data.
Implement custom section relocations with it.
2020-05-03 16:07:46 -07:00
Nick Lewycky
182b0802ec Fill custom section data in CompiledModule. 2020-05-03 15:34:54 -07:00
Nick Lewycky
db72d19f5d Add SectionBody which holds the bytes of a section.
Wire it up to CompiledModule::new().
2020-05-03 15:29:00 -07:00
Syrus
45e2e210ea Imporved author names 2020-05-03 10:57:25 -07:00
Syrus
b7cd6f249b Fixed syntax in READMEs 2020-05-02 16:24:27 -07:00
Syrus
3e1bc07c8f Improved READMEs 2020-05-02 16:23:29 -07:00
Syrus
327a1fea51 Improved READMEs 2020-05-02 16:21:11 -07:00
Syrus
6a06af1b1b Simplified compiler config removing mutable features and target 2020-05-02 15:22:05 -07:00
Syrus
e3d77dcf8a Force jump tables to be for local functions 2020-05-02 04:49:57 -07:00
Syrus
deace5beb0 Renamed back into LocalFunc 2020-05-02 04:43:31 -07:00
Syrus
fdef870e5a Renamed UserFunc to ImportedFunc 2020-05-02 04:19:11 -07:00
Syrus
fd96c4080e Merge branch 'master' into frame-info
# Conflicts:
#	lib/compiler-llvm/src/compiler.rs
#	lib/compiler-llvm/src/translator/code.rs
2020-05-01 22:09:26 -07:00
Syrus
eef5d1a901 Make compilers use FunctionBody for trampolines 2020-05-01 18:28:59 -07:00
Syrus
9008cfc1f3 Use serialized compilation 2020-05-01 17:02:14 -07:00
Syrus
c1c06591a0 Refactored FunctionBody into compiler 2020-05-01 16:51:47 -07:00
Syrus
cf70a297d8 Fixed compilation 2020-05-01 15:57:18 -07:00
Syrus
901b0d8571 Move serialize into it’s own module 2020-05-01 12:58:23 -07:00
Syrus
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
Syrus
393f17ba29 Address custom section comments. Improved docs 2020-05-01 11:41:21 -07:00
Syrus
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
Syrus
cebf727e80 Move frame info into it’s own field 2020-04-30 21:23:37 -07:00
Syrus
ca1b0ee565 Make SourceLoc transparent 2020-04-30 01:58:27 -07:00
Syrus
479575b56a Exported target lexicon structures 2020-04-28 17:13:45 -07:00
Syrus
0c42762c46 Fix features in non x86 machines 2020-04-28 16:52:59 -07:00
Syrus
39550bc469 Simplified wasmparser dependencies 2020-04-28 14:26:31 -07:00
Syrus
3d2bb43a93 Updated dependent crate versions 2020-04-27 20:03:44 -07:00
Syrus
93222bb489 Renamed errors to error 2020-04-22 17:17:54 -07:00
Syrus
49d2ae9797 Use f32/f64 native values for Value f32/f64 storage 2020-04-22 16:19:43 -07:00
Syrus
5eef30c7fa Added Singlepass backend 2020-04-22 14:25:27 -07:00
Syrus
1ef248658b Use Page units for memory operations 2020-04-22 12:33:10 -07:00
Syrus
f62f475309 Return Features & Target by reference in Compiler 2020-04-22 11:07:45 -07:00
Syrus
cdd51ad14a Improved imports 2020-04-21 23:24:50 -07:00
Syrus
feef35364b Renamed *Defined into *Local for better clarity 2020-04-21 23:19:33 -07:00
Syrus
b360bd40bb Move SourceLoc into compiler 2020-04-21 23:05:58 -07:00
Syrus
68b500ad84 Moved TrapInformation to the Compiler 2020-04-21 23:01:43 -07:00
Syrus
6d98dcccd7 Added multiple readmes 2020-04-21 22:13:57 -07:00
Syrus
b225c05b83 Updated package versions 2020-04-21 22:00:36 -07:00
Syrus
a402691303 First iteration of wasmer-reborn 2020-04-21 21:37:33 -07:00