Commit Graph

2814 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
98d3e04137 Fix unused mut warning 2019-08-15 20:09:51 -06:00
0a54213d4f register_preservation_trampoline 2019-08-15 19:08:11 -07:00
7028df23ef Allow only integers for LLVM function param/return values. 2019-08-15 19:07:03 -07:00
439e81d41e Fix singlepass error when no function code present 2019-08-15 10:15:58 -06:00
995f40564e Merge #671
671: Add wasi::poll_oneoff for Unix r=MarkMcCaskey a=MarkMcCaskey

Part of #570

Co-authored-by: Mark McCaskey <mark@wasmer.io>
Co-authored-by: Mark McCaskey <markmccaskey@users.noreply.github.com>
2019-08-15 07:58:35 +00:00
0c45707d33 implement wasi::poll_oneoff for write on Unix-like platforms 2019-08-15 15:51:16 +09:00
d733989657 Add wasi::poll_oneoff file read test 2019-08-15 13:13:20 +09: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
98ef9182d7 Run clang-format and cargo fmt 2019-08-14 16:35:40 -07:00
0e0573c73c Merge remote-tracking branch 'origin/master' into feature/llvm-osr 2019-08-14 16:33:26 -07:00
ec20e325fb Feature gate Unix-specific polling code 2019-08-14 16:38:57 +09:00
34340692bf Merge branch 'master' into feature/wasi-polloneoff 2019-08-14 16:14:47 +09:00
8c03338330 Implement wasi::poll_oneoff more properly for Unix 2019-08-14 15:51:39 +09:00
2f3c9c3e2f Mark memory.size VM intrinsics as not modifying state, and throw.trap/breakpoint as functions which do not return. 2019-08-13 21:50:54 -07:00
8e46e797ac Compare float bits in spectests assert return 2019-08-13 22:14:10 -06:00
0bf33662d1 Add missing LLVM imported memory functions 2019-08-13 20:07:55 -06:00
137ac206af Return compile error (llvm) for setting immutable global 2019-08-13 17:59:04 -06:00
de8fe32dbe Add memory validation 2019-08-13 13:04:13 -06:00
09b056cc40 Add wip wasi::poll_oneoff work 2019-08-13 16:59:01 +09:00
5239cdb85a Merge pull request #668 from wasmerio/feature/update-wabt-to-fix-names-spectests
Update WABT dep to fix names spectests
2019-08-13 00:13:36 -07: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
d695bd0c84 Update WABT dep to fixe names spectests 2019-08-12 15:35:32 -06:00
20cb7c0048 Merge branch 'master' into feature/unexclude-passing-elem-spec 2019-08-11 18:04:54 -06:00
9b4ba66e11 Add code comment explanation of validation 2019-08-11 13:59:48 -06:00
c837b56678 Unexclude passing elem spec 2019-08-11 13:52:57 -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
b7970fb982 Uncomment slow exclude test again 2019-08-10 17:11:32 -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
db5d8a5bf8 Push debug print to debug CI failure 2019-08-10 15:33:08 -06:00
4651b43078 Merge branch 'master' into feature/fix-table-init-error 2019-08-10 15:19:02 -06:00
a621b86286 Update windows excludes 2019-08-10 15:04:24 -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
6372e0947c Fix more bare dyn traits in runtime-c-api 2019-08-10 11:20:22 -06:00
8ec4c0e01d Merge branch 'master' into feature/fix-namespace-table-issue 2019-08-09 14:12:25 -06:00
44f71759f6 Use Vec::with_capacity in various places. 2019-08-10 03:23:29 +08:00
9cade2b441 singlepass: Skip patchpoint. 2019-08-10 03:10:32 +08: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
f909f7ed1f Merge pull request #650 from wasmerio/feature/wasi-path-rename
implement wasi::path_rename
2019-08-09 01:09:23 -07:00