Syrus
a7764a6fd6
Simplified code
2019-12-20 20:49:32 -08:00
Syrus
1a960a01ae
Improved lint
2019-12-20 20:45:10 -08:00
Syrus
c4d70a6b75
Use Arc instead of Rc
2019-12-20 20:37:47 -08:00
Syrus
097353d0d4
Fix lint
2019-12-20 19:20:32 -08:00
Syrus
0f45bd4f0d
Fixed tiering docs
2019-12-20 19:12:35 -08:00
Syrus
c143bc8fc8
Revert emscripten changes
2019-12-20 19:09:07 -08:00
Syrus
2404203ae4
Improved based on feedback
2019-12-20 19:03:49 -08:00
Syrus
527d7072b3
Remove unsafe transmute copy
2019-12-20 18:52:30 -08:00
Syrus
294cc28135
Move inline breakpoint outside of runtime backend
...
There was some code smell leaking inline breakpoint implementation into the runtime core backend instead of the compiler itself
2019-12-20 18:26:56 -08:00
bors[bot]
0419df937e
Merge #1095
...
1095: Update to cranelift 0.52 r=nlewycky a=nlewycky
# Description
Update to cranelift 0.52.
To use our wasmer branch of cranelift, we point to its path on git. Per @syrusakbary , we don't want to push updated wasmer-clif crates until we're ready to release the matching wasmer that will use them.
# Review
- [x] Add a short description of the the change to the CHANGELOG.md file
Co-authored-by: Nick Lewycky <nick@wasmer.io>
Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-12-21 01:45:45 +00:00
Mark McCaskey
fe969be612
Update wasmparser to version 0.45.0
2019-12-20 17:16:54 -08:00
Mark McCaskey
8cddea341b
Update to 0.45.0 wasmparser Operator names in llvm-backend
2019-12-20 17:16:54 -08:00
Mark McCaskey
adecb36d15
Update to 0.45.0 wasmparser Operator names in singlepass-backend
2019-12-20 17:15:38 -08:00
Nick Lewycky
c2f287e65b
Update to cranelift 0.51.
2019-12-20 17:10:36 -08:00
bors[bot]
d5d82e2508
Merge #1096
...
1096: Add TBAA labels to initialization (default and copy) of locals. r=nlewycky a=nlewycky
Co-authored-by: Nick Lewycky <nick@wasmer.io>
2019-12-21 01:06:23 +00:00
Nick Lewycky
cca73c0a6f
Add TBAA labels to initialization (default and copy) of locals.
2019-12-20 17:02:58 -08:00
Nick Lewycky
bba0129150
Remove comments with register names that might not be right and don't really matter.
2019-12-20 16:20:58 -08:00
Nick Lewycky
e738a9f2b5
Name the magic constants in the singlepass backend.
2019-12-20 16:20:58 -08:00
Nick Lewycky
f00283ab03
Name the magic constants in the LLVM backend.
2019-12-20 16:20:58 -08:00
Nick Lewycky
b7929e6561
Add support for non-trapping float to int conversions in singlepass+AArch64.
2019-12-20 16:20:58 -08:00
Nick Lewycky
d52c193e84
Finish implementation of trunc_sat in singlepass x86-64.
2019-12-20 16:20:58 -08:00
Nick Lewycky
442c40f5f1
Initial implementatio of trunc-sat instructions in singlepass. 27 test failures.
2019-12-20 16:20:58 -08:00
Nick Lewycky
6fe2f434c6
Add tests for non-trapping float to int conversions.
...
This breaks all of conversions.wast on singlepass. LLVM and Cranelift pass.
2019-12-20 16:20:58 -08:00
Nick Lewycky
0cfe08fff3
Correct implementation of non-trapping float to int conversions in the llvm backend.
2019-12-20 16:20:58 -08:00
Nick Lewycky
5b35313099
Use type traits to ensure that the float and int types match in trunc_sat.
2019-12-20 16:20:58 -08:00
Stephan Renatus
782be5b51a
Add function to get nul-terminated strings from memory
...
Fixes #1086 .
Signed-off-by: Stephan Renatus <srenatus@chef.io>
2019-12-20 21:53:08 +01:00
Mark McCaskey
ad8945a555
Add misc doc link fixes and update old comment
2019-12-19 16:22:51 -05:00
Mark McCaskey
5888f44e95
Cargo fmt with Rust 1.39.0
2019-12-19 14:06:27 -05:00
bors[bot]
6fb52e812e
Merge #1084
...
1084: Prepare for 0.12.0 release r=MarkMcCaskey a=MarkMcCaskey
# Review
- [x] Add a short description of the the change to the CHANGELOG.md file
Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-12-19 16:43:39 +00:00
Syrus Akbary
10dccd9556
Merge branch 'master' into feature/llvm-use-floats
2019-12-18 15:07:43 -08:00
Mark McCaskey
6a74b7e994
Prepare for 0.12.0 release
2019-12-18 17:24:29 -05:00
Mark McCaskey
caa75fa157
Merge branch 'master' into wat
2019-12-18 15:42:14 -05:00
Mark McCaskey
7d77511ad5
Additional clean up, cargo update to fix merge issue
2019-12-18 15:24:42 -05:00
Nick Lewycky
5d0429989a
Remove type_to_llvm_int_only, only use type_to_llvm.
2019-12-18 11:53:48 -08:00
Mark McCaskey
4539ef44d0
Rename to experimental-io-devices and clean up for release
2019-12-18 14:10:54 -05:00
Stephan Renatus
b5b8484f6a
docs: fix markup runtime-core docs
...
Signed-off-by: Stephan Renatus <srenatus@chef.io>
2019-12-18 15:06:46 +01:00
Jasper-Bekkers
22b3a06b40
Skip formatting test_func_arity_n!
invocations with more then 15 parameters
2019-12-18 13:22:22 +01:00
Jasper-Bekkers
ee2e595e5b
Add more parameters to Func
2019-12-18 12:36:19 +01:00
bors[bot]
49c512b2c5
Merge #1075
...
1075: Add include guards for WASI APIs in runtime-c-api r=syrusakbary a=MarkMcCaskey
Improves correctness, but the readability does suffer.
In the future we should probably have separate header files or find a way to merge the conditional includes
Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-12-18 03:15:33 +00:00
bors[bot]
d3d328189f
Merge #1077
...
1077: Improve some doc comments relating to type-safe indexing r=MarkMcCaskey a=MarkMcCaskey
Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-12-18 00:51:46 +00:00
Mark McCaskey
13b097e8c3
Improve the wording of typed index doc comments.
2019-12-17 19:10:36 -05:00
Mark McCaskey
d165a85743
Improve some doc comments relating to type-safe indexing
2019-12-17 18:45:07 -05:00
Nick Lewycky
6a0a4390c1
Use function defined in wasmer-runtime-core instead of our own copy of it.
2019-12-17 15:12:54 -08:00
Mark McCaskey
6618750ebd
Add include guards for WASI APIs in runtime-c-api
2019-12-17 16:25:26 -05:00
Syrus Akbary
83fded4f20
Merge branch 'master' into feature/emscripten-in-c-api
2019-12-17 10:54:21 -08:00
losfair
1681af7e1d
Merge remote-tracking branch 'origin/master' into fix/aarch64-cleanup
2019-12-17 23:27:53 +08:00
bors[bot]
c02846a147
Merge #1069
...
1069: Add fn for splitting borrow of memory & data in Ctx, use in WASI r=MarkMcCaskey a=MarkMcCaskey
Fixes a soundness issue / some undefined behavior
# Review
- [ ] Add a short description of the the change to the CHANGELOG.md file
Co-authored-by: Mark McCaskey <mark@wasmer.io>
Co-authored-by: Mark McCaskey <5770194+markmccaskey@users.noreply.github.com>
2019-12-17 00:55:56 +00:00
Mark McCaskey
bb90cffac9
Address feedback; improve emscripten fn names in C API
2019-12-16 19:43:57 -05:00
Mark McCaskey
2819821ab7
Fix typo in doc comment
...
Co-Authored-By: nlewycky <nick@wasmer.io>
2019-12-16 16:37:34 -08:00
Mark McCaskey
9ccb59eae5
Add minor changes to runtime/vm doc comments + make fns const fns
2019-12-16 18:27:37 -05:00