620a6ddd85
Disable memory bound checking for kernel loader.
2019-05-08 10:25:29 -07:00
36a78a23b6
Fix Windows crash on caching compiled artifact.
...
Memory clone function wasn't able to write to new reserved memory object.
Changed so allocating Memory objects with protection flag allocates commited memory.
2019-05-08 15:59:00 +02:00
0bbd6e6970
Fix function offset.
2019-05-07 08:25:46 -07:00
87a94657d0
Merge branch 'master' into feature/llvm-cgapi
2019-05-06 22:39:20 -05:00
e5dc94c7d6
update version number to 0.4.1
2019-05-06 18:02:39 -07:00
94e6c7318f
Merge #424
...
424: Update emscripten to run JSC r=syrusakbary a=MarkMcCaskey
Co-authored-by: Mark McCaskey <mark@wasmer.io >
2019-05-06 21:19:27 +00:00
ab184aceea
Update emscripten to run JSC
2019-05-06 14:05:04 -07:00
089aab296d
codegen: Remove unused LoadError import
...
Rustc complains that:
warning: unused import: `parse::LoadError`
--> lib/runtime-core/src/codegen.rs:7:5
|
7 | parse::LoadError,
| ^^^^^^^^^^^^^^^^
|
2019-05-06 20:42:35 +03:00
61510f8116
Enforce runtime memory and stack bound check when using kernel loader.
2019-05-06 07:15:30 -07:00
0926a5020e
Implement caching for parser refactor
2019-05-05 20:11:47 -05:00
31acf81762
cargo fmt
2019-05-05 13:37:36 -05:00
1864733ab8
Merge branch 'master' into feature/llvm-cgapi
2019-05-05 13:25:51 -05:00
7bc09ee220
kwasmd.
2019-05-05 09:32:35 -07:00
46e4cb05bc
Get memory intrinsics at runtime.
2019-05-04 10:33:12 -07:00
a590d7cd07
Tables
2019-05-04 09:56:52 -07:00
c4e4efc694
kwasm imports
2019-05-04 08:28:13 -07:00
c5caf9b6db
Update LLVM FCG begin_body
2019-05-03 00:14:25 -05:00
14bfd75ac9
Code loader framework.
2019-05-03 00:23:41 +08:00
8d86844c5f
Merge branch 'master' into parser-middleware
2019-05-01 13:10:44 -05:00
99c101f312
Merge remote-tracking branch 'origin/master' into parser-middleware
2019-05-02 00:30:58 +08:00
2646765671
Merge branch 'master' into update-version-numbers-to-4
2019-05-01 09:27:38 -07:00
39b6b05f71
Merge branch 'master' into atomic-transparent-repr
2019-04-30 17:09:18 -07:00
d020ffd759
update version to 0.4.0
2019-04-29 13:26:51 -07:00
305e1801ff
Fix incomplete data section
2019-04-28 15:38:18 +08:00
e63d7fd531
Merge
2019-04-28 12:58:27 +08:00
6beb76c3ae
Various cleanups.
2019-04-28 12:48:01 +08:00
2262c8a6da
Finished middleware impl and made a CallTrace middleware
2019-04-27 16:31:47 +08:00
eca8ccdbd4
Move out parser and codegen traits.
2019-04-27 12:31:04 +08:00
389c6a015d
Remove unused function memory offset addr
2019-04-24 02:00:07 -05:00
ff9de181f1
Add error propagation test
2019-04-22 15:53:21 -07:00
706ddabf61
Hook up error propagation
2019-04-22 15:06:40 -07:00
74b6ba4eaf
Return type normalization, and change return errors from imported functions
2019-04-22 11:42:52 -07:00
85d9ca9ad2
Add NativeWasmType trait and modify WasmExternType
2019-04-22 10:35:55 -07:00
21bd55c30d
Make the slice::from_raw_parts call safe
2019-04-21 12:58:48 +02:00
3b9e12b248
fix test
2019-04-19 14:02:21 -07:00
443663aa3f
Add caching support to llvm backend
2019-04-19 13:54:48 -07:00
6279dd8e82
Fix test again, whoops
2019-04-18 10:14:25 -07:00
f0e0255b3f
Fix vm test
2019-04-18 10:08:17 -07:00
4dd64ed72e
Remove UserTrapper trait
2019-04-18 10:00:15 -07:00
57e24c957c
Merge branch 'master' into feature/remove-call-protected
2019-04-12 12:44:59 -07:00
d507253372
update crate version numbers to 0.3.0
2019-04-12 12:19:46 -07:00
051d435423
Warnings and unused code cleanup
2019-04-12 10:27:14 -07:00
d8c6f76846
Redesign the interface between the runtime and the backends.
...
This removes the ProtectedCaller and FuncResolver traits, simplifying call implementations and improving dynamic call throughput.
2019-04-11 18:01:54 -07:00
688b6cae26
Merge branch 'master' into feature/nightly-release
2019-04-11 14:36:18 -07:00
d67bfdb2c5
Renamed dynasm backend to singlepass
2019-04-11 12:44:03 -07:00
c898439817
Add well placed unwind(allowed) attribute
2019-04-11 12:07:54 -07:00
72b9939331
Merge #334
...
334: Added longjmp implementation r=syrusakbary a=syrusakbary
Added longjmp implementation
Co-authored-by: Syrus <me@syrusakbary.com >
Co-authored-by: Mark McCaskey <mark@wasmer.io >
Co-authored-by: Lachlan Sneff <lachlan.sneff@gmail.com >
2019-04-11 00:26:30 +00:00
870faf9838
Merge #341
...
341: feat(runtime-core) `Instance.exports` takes `&self` instead of `&mut self` r=lachlansneff a=Hywan
There is no reason for `exports` to take a mutable reference. This patch rewrites the `Instance.export` signature a little bit.
Co-authored-by: Ivan Enderlin <ivan.enderlin@hoa-project.net >
2019-04-10 19:22:12 +00:00
20297d1751
feat(runtime-core) Instance.exports
takes &self
instead of &mut self
.
...
There is no reason for `exports` to take a mutable reference.
2019-04-10 12:17:16 -07:00
6848e81a77
Merge branch 'master' into feature/longjmp
...
# Conflicts:
# lib/runtime-core/src/backend.rs
# lib/runtime-core/src/typed_func.rs
2019-04-10 10:57:45 -07:00