42780042ef
Fix typo in comment.
2019-07-15 10:55:26 -07:00
5c5ecfff7d
Rename alternative_stack
to fault
.
2019-07-04 01:27:19 +08:00
967027003d
Full preemptive snapshot/resume.
2019-06-27 15:49:43 +08:00
0937e53801
Fully persist program state.
2019-06-26 01:38:39 +08:00
c6cd49a370
Support getting/setting metering points and internal fields with a Ctx.
2019-06-06 14:10:57 +08:00
c020c39193
Move get/set points used to middleware
2019-06-02 13:21:00 -05:00
e533a8a7b5
Add tests for metering, add option to compiler config
2019-06-02 11:37:02 -05:00
dcf52ef1a7
Cargo fmt
2019-05-23 20:10:34 +08:00
cf58305889
Dynamically allocate internal fields.
2019-05-23 20:10:17 +08:00
6aec1c4b5f
Use INTERNALS_SIZE
2019-05-17 01:33:33 +08:00
8e0d71b2bc
Fix missing internals
in test.
2019-05-17 01:32:41 +08:00
6aa87a0bbf
Add the internals
field and necessary structures for metering.
2019-05-17 01:10:21 +08:00
ee09209bfb
Fix clippy error.
2019-05-14 16:59:18 +08:00
32f9aee6fe
Cargo fmt
2019-05-14 16:04:08 +08:00
db9705f00c
Merge remote-tracking branch 'origin/master' into feature/remote-code-load
2019-05-14 15:46:15 +08:00
8218e550fc
Improved docs and fixed few typos
2019-05-13 11:18:57 -07:00
5a6cb96714
Merge branch 'master' into docs/better-runtime-docs
...
# Conflicts:
# lib/runtime-core/src/vm.rs
2019-05-13 11:08:00 -07:00
af1ac9af96
Improve performance of memory access.
2019-05-13 05:11:08 -07:00
61510f8116
Enforce runtime memory and stack bound check when using kernel loader.
2019-05-06 07:15:30 -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
2262c8a6da
Finished middleware impl and made a CallTrace middleware
2019-04-27 16:31:47 +08:00
3b9e12b248
fix test
2019-04-19 14:02:21 -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
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
41129e445d
Fix runtime test missing method
2019-04-09 16:15:50 -07:00
48b5918895
Merge branch 'master' into feature/wasi-fs
2019-03-29 11:09:04 -07:00
5c12fd0b49
fix test
2019-03-28 13:55:38 -07:00
7b0992e44f
Instance now pulls state from the ImportObject
2019-03-28 11:56:31 -07:00
5294eb6b0d
merge and respond to feedback
2019-03-28 11:41:45 -07:00
764ec96ad1
fix compilation error
2019-03-28 09:20:54 -07:00
315d8286c4
clean up (second pass)
2019-03-27 14:08:17 -07:00
09068c1a74
clean up implementation
2019-03-27 14:01:27 -07:00
9c58bed344
add support for symbol maps
2019-03-26 16:41:40 -07:00
7c9e537443
refactor everything
2019-03-25 19:44:12 -07:00
e5951ce56d
Merge branch 'master'
...
Conflicts:
Cargo.lock
Cargo.toml
lib/emscripten/Cargo.toml
lib/emscripten/src/syscalls/unix.rs
lib/runtime-core/Cargo.toml
2019-03-23 00:27:55 -07:00
08ba696ab0
Fix vmctx offset tests.
2019-03-21 09:24:44 +08:00
26e4278657
Make the internal
field private from outside.
2019-03-21 08:57:50 +08:00
cb3846ff6a
Add InternalCtx
.
2019-03-21 08:39:06 +08:00
a006a368c5
Cleanup.
2019-03-19 20:01:38 +08:00
2ab2205d6b
Allow cross-module indirect calls.
2019-03-19 11:47:38 +08:00
d80ea47ffc
FIx bugs found with spectests.
2019-03-14 10:30:24 +08:00
3eaf5525d1
Add some better docs
2019-03-13 14:58:44 -07:00
557be77338
Merge branch 'master' into feature/dynasm-backend
2019-03-12 20:58:22 -05:00
f2488ac410
remove feature flag on custom sections
2019-03-12 13:36:11 -07:00
4cee16220b
more edge cases
2019-03-12 13:04:14 -07:00
683cb2090c
Fix call_indirect.
2019-03-12 11:31:55 +08:00
17eada53f3
feat(runtime) Get ready for tiering ( #257 )
...
* Add local_function field to context
* Add local call indirection to llvm
* local call indirection
* Fix vm test
* Fix cranelift local call indirection
* Fix unwinding on nightly
2019-03-08 15:15:16 -08:00