Commit Graph

794 Commits

Author SHA1 Message Date
bccbbb3d8b Add deny nonstandard-style and unused-mut lints 2019-08-15 20:18:29 -06:00
afa0600701 Cargo fmt 2019-08-15 19:13:00 -07:00
6a24485999 Insert trampolines to preserve callee-saved registers for backends without register save area information. 2019-08-15 19:10:24 -07:00
0a54213d4f register_preservation_trampoline 2019-08-15 19:08:11 -07:00
1582224d61 Cargo fmt 2019-08-14 17:16:30 -07:00
9edd9ffdfe Make lookup_*_ip public. 2019-08-14 17:14:01 -07:00
c9e3db3d94 Remove feature(core_intrinsics) 2019-08-14 16:41:44 -07:00
0e0573c73c Merge remote-tracking branch 'origin/master' into feature/llvm-osr 2019-08-14 16:33:26 -07:00
de8fe32dbe Add memory validation 2019-08-13 13:04:13 -06:00
f22250d85a Refactor func_count in parser 2019-08-12 21:36:17 -06:00
e76777ed9b Finalize signatures & names when no function bodies 2019-08-12 20:22:54 -06:00
9b4ba66e11 Add code comment explanation of validation 2019-08-11 13:59:48 -06:00
f61fc5c298 Validate all initializers before finalizing 2019-08-11 13:28:47 -06:00
38a8a0eb01 Minimize unsafe block to unsafe code 2019-08-10 17:20:27 -06:00
0b73776c84 Validate all memory data initializers before writing 2019-08-10 17:10:24 -06:00
228d562a3b Re-use registered module instances in spectests 2019-08-10 15:56:25 -06:00
b484ebb848 cargo fmt 2019-08-10 14:01:50 -06:00
bb8b4960b8 Remove filter which prevents initializer offset check 2019-08-10 13:59:31 -06:00
1584beebe6 Invalid table size for elems should produce link error 2019-08-10 12:13:14 -06:00
d61a8bb6d2 Prevent continueing execution on unreliable stack. (LLVM register save area information is missing) 2019-08-10 03:10:12 +08:00
2e89f02191 Cargo fmt 2019-08-10 02:44:44 +08:00
b8c18215aa Refactor tier switching code 2019-08-10 02:32:14 +08:00
a7ff120dd9 Fix some spectest imports and namespace_table issue 2019-08-08 21:03:00 -06:00
5a41686192 Fix bare_trait_objects warnings 2019-08-08 16:46:52 -06:00
c1619026d5 Swap code lazily when tiering up from singlepass to LLVM.
Does not handle long-running functions, but should work at least.
2019-08-09 04:26:17 +08:00
75959577c3 Protect::ReadWriteExec is readable and writable.
Also assert that page size is a power of two in two places we assume it is.
2019-08-07 16:49:29 -07:00
5d9aa1f986 Return link error instead of assertion failure for bad data initialization 2019-08-07 15:40:42 -06:00
50ebbc500f Bump blake2b_simd from 0.5.5 to 0.5.6
Bumps [blake2b_simd](https://github.com/oconnor663/blake2_simd) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/oconnor663/blake2_simd/releases)
- [Commits](https://github.com/oconnor663/blake2_simd/compare/0.5.5...0.5.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-05 08:38:35 +00:00
2fabb5bc20 Add support for (register) command in spec tests and enable importing mutable globals.
Enable the part of the simd spec tests that now pass.
2019-08-02 14:18:07 -07:00
17b5082c9b Merge pull request #621 from wasmerio/feature/add-deny-dead_code-lint
Add deny dead_code lint and fix one error
2019-08-02 13:36:53 -07:00
e2e096117a Allow dead_code for existing arch specific methods 2019-08-02 14:07:10 -06:00
c67df1c954 Merge branch 'master' into c-api-import_object_t 2019-08-02 22:54:54 +03:00
2f70a199e4 Add deny dead_code lint and fix one error 2019-08-01 20:46:35 -06:00
5fed2cef03 Fix typos. 2019-08-01 16:24:40 -07:00
9ed5094f86 Resolve semantics for more values. 2019-08-01 23:28:39 +08:00
3f4ffb0e2d Merge branch 'develop' into c-api-import_object_t 2019-08-01 18:15:21 +03:00
f73180f45e wasmer-c-api:
* adding `wasmer_import_object_new` and `wasmer_import_object_extend`
* adding test file `test-module-import-instantiate.c`
2019-08-01 14:06:25 +03:00
052ad1381d Use ordered IndexMap for exports in runtime-core 2019-08-01 01:27:21 -07:00
0dfa1f68a8 Formatted code 2019-07-31 23:51:12 -07:00
ebce7d0371 Updated dependencies 2019-07-31 23:42:54 -07:00
a6461c3b14 Removed explicit hashbrown dependency 2019-07-31 23:18:38 -07:00
6245daaa84 Update dependencies to latest versions 2019-07-31 23:04:03 -07:00
20e424c11e update wasmparser and clif-fork dependencies 2019-08-01 10:13:25 +09:00
fccf68c734 Updated version to 0.6.0 2019-07-31 10:28:45 -07:00
0ab8a0de09 Remove all uses of mem::uninitialized for Rust 1.38 2019-07-31 13:21:20 +09:00
4f56703657 Support runtime tier switching. 2019-07-30 22:25:58 +08:00
7a1ddc0b5a Rename validate to validate_with_features. 2019-07-29 12:11:23 -07:00
86316c474a Use --enable-simd to control whether SIMD is enabled in the wasmparser.
Before this change, 'wasmer run --backend=llvm some-simd.wasm' would run without complaint.

Also, note that the flag is not part of the cache key, so after any successful run, we can run it again without passing the flag.
2019-07-29 12:11:23 -07:00
53c343bc6f Merge #579
579: fix caching for other backends, improve default compiler code r=MarkMcCaskey a=MarkMcCaskey



Co-authored-by: Mark McCaskey <mark@wasmer.io>
Co-authored-by: Syrus Akbary <me@syrusakbary.com>
2019-07-26 22:21:00 +00:00
efb5277d1d Stack parsing now works with LLVM. 2019-07-27 02:50:49 +08:00