losfair
f025efcacc
Add comments from review feedback.
2020-06-03 00:47:14 +08:00
Syrus
b26c67aa82
Improved Dummy engine
2020-06-01 17:50:19 -07:00
Mark McCaskey
6246dd5ea2
Implement extern types in Wasm C API
2020-06-01 17:32:20 -07:00
Syrus
c5e38a7468
Added serialize_to_file API
2020-06-01 17:02:05 -07:00
nlewycky
e5a6be5dda
Merge pull request #79 from wasmerio/llvm-callbacks
...
Add progress callbacks in compiler-llvm.
2020-06-01 14:35:59 -07:00
Syrus Akbary
367dff887a
Update lib/compiler-llvm/src/config.rs
...
Co-authored-by: nlewycky <nick@wasmer.io >
2020-06-01 14:12:57 -07:00
Syrus Akbary
1b84525921
Update lib/compiler-llvm/src/trampoline/wasm.rs
...
Co-authored-by: nlewycky <nick@wasmer.io >
2020-06-01 14:12:50 -07:00
Syrus Akbary
903c1b23be
Update lib/compiler-llvm/src/translator/code.rs
...
Co-authored-by: nlewycky <nick@wasmer.io >
2020-06-01 14:12:44 -07:00
Syrus Akbary
28457e42e5
Update src/store.rs
...
Co-authored-by: nlewycky <nick@wasmer.io >
2020-06-01 14:12:39 -07:00
Syrus Akbary
cad89f1796
Update src/store.rs
...
Co-authored-by: nlewycky <nick@wasmer.io >
2020-06-01 14:12:31 -07:00
Syrus
18528fc251
Merge branch 'master' into llvm-callbacks
2020-06-01 13:55:36 -07:00
Syrus
2a9ce436f9
Added LLVM callbacks
2020-06-01 13:54:26 -07:00
nlewycky
45eb9815d2
Merge pull request #78 from wasmerio/almost-stack-off-by-one
...
Fix off by one when detecting stack vs. heap addresses.
2020-06-01 12:40:34 -07:00
Nick Lewycky
98853be93b
remove accidental whitespace.
2020-06-01 11:42:49 -07:00
Nick Lewycky
e381a70ccd
Fix typo in comment, too.
2020-06-01 11:42:21 -07:00
Nick Lewycky
f12ea2c4e0
Comment this.
2020-06-01 11:40:08 -07:00
Nick Lewycky
9309944b9a
Fix off by one when detecting stack vs. heap addresses.
2020-06-01 11:36:17 -07:00
Syrus Akbary
8e8d0de686
Merge pull request #77 from wasmerio/llvm-clippy
...
NFC. Borrow a str instead of a String. Pointed out by cargo clippy.
2020-06-01 11:26:45 -07:00
Nick Lewycky
311b8d8d24
NFC. Borrow a str instead of a String. Pointed out by cargo clippy.
2020-06-01 11:04:13 -07:00
losfair
fe2b979f0e
singlepass: Align loop headers to 16 bytes.
2020-06-02 01:58:05 +08:00
losfair
fcfa378ace
engine-jit: Align executable allocations to an arch-specific value.
2020-06-02 01:57:45 +08:00
Syrus
ea1c6a1103
Update dependencies
2020-05-29 20:45:46 -07:00
Syrus
108ab27fb8
Fixed compilation when no compilers are enabled
2020-05-29 20:35:28 -07:00
Syrus
2c70ce79b0
Fixed singlepass
2020-05-29 19:51:26 -07:00
Syrus
abbd39c50b
Refactor trampoline compilation
2020-05-29 19:37:03 -07:00
Syrus Akbary
4d831a9a44
Merge pull request #75 from wasmerio/llvm-dynamic-trampoline
...
Add support for dynamic trampolines in compiler-llvm.
2020-05-29 18:52:37 -07:00
Syrus
c29d8984af
Use choco install for LLVM in Windows
2020-05-29 18:28:14 -07:00
Syrus
067059fc09
Fix LLVM detection
2020-05-29 18:06:17 -07:00
Mark McCaskey
f20f834ca2
Merge pull request #62 from wasmerio/feature/add-wasm-capi
...
Add Wasm C API
2020-05-29 17:55:14 -07:00
Syrus
0b571ce73a
Make llvm opt dir
2020-05-29 17:36:23 -07:00
Syrus
a4bef601c4
Allow LLVM to follow redirects
2020-05-29 17:34:56 -07:00
Mark McCaskey
ac9725e343
Remove outdated comment in Wasm C API
2020-05-29 17:26:27 -07:00
Syrus
d982e3263b
Make tests after installing LLVM
2020-05-29 17:23:54 -07:00
Mark McCaskey
b83885ad35
Add missing file ordered_resolver
2020-05-29 17:23:13 -07:00
Syrus
64d498f50e
Try to install LLVM
2020-05-29 17:18:47 -07:00
Mark McCaskey
d38618054e
Use c_try! macro in more places in Wasm C API
2020-05-29 17:17:41 -07:00
Mark McCaskey
e45a5b5af9
Add Tables to C API; clean up
2020-05-29 17:14:17 -07:00
Syrus
28c6462f76
Merge branch 'master' into llvm-dynamic-trampoline
2020-05-29 17:00:57 -07:00
Nick Lewycky
45e80dec7b
Add support for dynamic trampolines in compiler-llvm.
2020-05-29 16:56:41 -07:00
Mark McCaskey
4d3b95d674
Clean up: use higher level types in the C API
...
Instead of manually dereffing pointers and transforming `Box` into
`NonNull`, just use the types directly. I previously wasn't aware that
this would work with FFI and more importantly thought that it would
cause a worse kind of undefined behavior, however upon further
reflection I've decided that that doesn't really make sense and we can
significantly reduce source code size and improve readability by using
these higher level types directly.
2020-05-29 15:05:20 -07:00
Mark McCaskey
c43d7c3818
Clean up and get all previously-working C API tests working
2020-05-29 13:39:31 -07:00
Mark McCaskey
342b2cf927
Get Wasm C API Hello World working
2020-05-29 13:39:24 -07:00
Mark McCaskey
027e26c1b4
Add progress on porting Wasm C API
2020-05-29 13:35:07 -07:00
Mark McCaskey
3461795522
Add unedited wasm c api from branch on wasmer master
2020-05-29 13:33:57 -07:00
Syrus Akbary
428aa0c846
Merge pull request #65 from wasmerio/singlepass-dynamicfunc
...
Dynamic function support for singlepass.
2020-05-29 13:25:30 -07:00
Syrus
54999116a0
Improved lint and testing
2020-05-29 13:00:48 -07:00
Syrus
c6caebc400
Automatically test and build with available compillers
2020-05-29 12:46:30 -07:00
losfair
253f46c025
VMContext is I64.
2020-05-30 00:46:36 +08:00
losfair
2525a0a113
Upgrade dynasm to 0.6.
2020-05-30 00:45:00 +08:00
losfair
dffcc77f23
Fix lint error
2020-05-30 00:40:55 +08:00