4489 Commits

Author SHA1 Message Date
Syrus
d36d883528 Fix lint 2020-01-07 16:12:39 +01:00
Syrus
e57677b63f Make cranelift optional for middleware 2020-01-07 16:12:39 +01:00
Syrus
ac0c5c93ce Fixed lint 2020-01-07 16:12:39 +01:00
Syrus
5d2ea93a89 Fixed changelog link 2020-01-07 16:12:39 +01:00
Syrus
0cb3df256d Removed unnecessary checks 2020-01-07 16:12:39 +01:00
Syrus
71be5bea16 Improved syntax 2020-01-07 16:12:39 +01:00
Syrus
f3b9ecbaea Remove backend specific features from root Cargo 2020-01-07 16:12:39 +01:00
Syrus
18421e3623 Make all tests pass 2020-01-07 16:12:39 +01:00
Syrus
d7154fe791 Remove Backend dependency 2020-01-07 16:12:39 +01:00
Syrus
d4e964519d Move requires pre validation into the ModuleCodeGenerator 2020-01-07 16:10:46 +01:00
Syrus
303d44cb0f Remove backend code 2020-01-07 16:10:46 +01:00
Syrus Akbary
94bcea909b
Merge pull request #1119 from Hywan/doc-runtime-c-api-typo
doc(runtime-c-api) Fix a typo.
2020-01-07 14:42:36 +01:00
Ivan Enderlin
0274668675 doc(runtime-c-api) Fix a typo. 2020-01-07 14:21:50 +01:00
bors[bot]
9cf97aa02b
Merge #1117
1117: Improve formatting of error messages we display from wabt r=MarkMcCaskey a=MarkMcCaskey

Resolves #1107 

Co-authored-by: Mark McCaskey <mark@wasmer.io>
2020-01-06 20:38:28 +00:00
Mark McCaskey
d3d720babd Improve formatting of error messages we display from wabt 2020-01-06 15:30:30 -05:00
Syrus Akbary
d408831ed6
Merge pull request #1103 from wasmerio/dependabot/cargo/parking_lot-0.10.0
Bump parking_lot from 0.9.0 to 0.10.0
2019-12-30 11:30:11 +01:00
dependabot-preview[bot]
1e6149ed94
Bump parking_lot from 0.9.0 to 0.10.0
Bumps [parking_lot](https://github.com/Amanieu/parking_lot) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/Amanieu/parking_lot/releases)
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.9.0...0.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 07:38:11 +00:00
bors[bot]
afc3363e35
Merge #1101
1101: Add MIT license to crates that were missing it r=syrusakbary a=repi

Ran into a few crates in this repo with our license scanner that didn't have any license attached to them.

Added MIT to be consistent with the other crates. Please adjust if not correct.

Co-authored-by: Johan Andersson <repi@repi.se>
2019-12-22 16:14:42 +00:00
Johan Andersson
81f879565d Add MIT license to crates that were missing it
Ran into a few crates in this repo with our license scanner that didn't have any license attached to them.

Added MIT to be consistent with the other crates. Please adjust if not correct.
2019-12-22 12:28:33 +01:00
bors[bot]
f2f1a08e07
Merge #1100
1100: Fix unused import warning, deny more warnings. r=syrusakbary a=nlewycky



Co-authored-by: Nick Lewycky <nick@wasmer.io>
2019-12-22 03:19:41 +00:00
Nick Lewycky
1cffb90fea Fix unused import warning, deny more warnings. 2019-12-21 14:35:43 -08:00
bors[bot]
7390372eb6
Merge #1097
1097: Move inline breakpoint outside of runtime backend r=syrusakbary a=syrusakbary


<!-- 
Prior to submitting a PR, review the CONTRIBUTING.md document for recommendations on how to test:
https://github.com/wasmerio/wasmer/blob/master/CONTRIBUTING.md#pull-requests

-->

# Description
There was some code smell leaking inline breakpoint implementation into the runtime core backend instead of the compiler itself. This PR fixes it.

<!-- 
Provide details regarding the change including motivation,
links to related issues, and the context of the PR.
-->

# Review

- [x] Add a short description of the the change to the CHANGELOG.md file


Co-authored-by: Syrus <me@syrusakbary.com>
2019-12-21 05:13:50 +00:00
Syrus
ad82beffb4 Fixed tests 2019-12-20 21:11:55 -08:00
Syrus
a7764a6fd6 Simplified code 2019-12-20 20:49:32 -08:00
Syrus
7efda4da66 Added changes to changelog 2019-12-20 20:47:39 -08:00
Syrus
24a9814ba6 Remove unused imports 2019-12-20 20:47:03 -08:00
Syrus
afcd1d5b68 Fixed wasmer calls 2019-12-20 20:46:04 -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
Nick Lewycky
a0739b6355 Add changelog entry. 2019-12-20 17:16:54 -08:00
Nick Lewycky
c8e79178ee Update to cranelift 0.52 (wasmer branch) 2019-12-20 17:16:54 -08: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
bors[bot]
4018494f6e
Merge #1071
1071: Add support for non-trapping float-to-int conversions. r=nlewycky a=nlewycky

# Description
Rewrites LLVM implementation of non-trapping float-to-int conversions. LLVM's conversion operations produce unspecified output when the input floats are out of range for the conversion.

Add implementation to singlepass for both x86-64 and AArch64.

# Review

- [x] Add a short description of the the change to the CHANGELOG.md file


Co-authored-by: Nick Lewycky <nick@wasmer.io>
2019-12-21 00:23:31 +00: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
56fd66403c Update changelog again, to move entry to new unreleased section since there's been a release. 2019-12-20 16:20:58 -08:00
Nick Lewycky
f8d792cf04 Add changelog entry. 2019-12-20 16:20:58 -08:00