Commit Graph

847 Commits

Author SHA1 Message Date
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
8019505e65 Merge remote-tracking branch 'origin/feature/clif-cgapi' into feature/metering 2019-05-31 15:40:05 +08:00
fd8675324c Merge remote-tracking branch 'origin/master' into feature/metering 2019-05-29 11:16:05 +08:00
921e95035f Cleanup expect messages used for debugging 2019-05-26 22:50:23 -05:00
00707ea849 Cleanup cranelift validation 2019-05-26 22:44:37 -05:00
8069cdac16 Merge branch 'master' into feature/clif-cgapi 2019-05-26 12:04:45 -05:00
6ca311f92d Fix compilation errors and warnings 2019-05-26 11:13:37 -05:00
5da0c4766a Update to Arc<RwLock<ModuleInfo>> for interior mutability 2019-05-25 19:30:44 -05:00
d440776bc0 Update lifetime of function builder references 2019-05-25 18:06:41 -05:00
8018453266 Update wasmparser 0.29.2 -> 0.30.0 2019-05-24 23:18:08 +02:00
9919dd73c8 Merge remote-tracking branch 'origin/master' into feature/metering 2019-05-23 20:18:11 +08: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
04d6ccc95c Pass module info to FCG as Arc 2019-05-21 23:44:31 -05:00
3bedf6218c Merge branch 'master' into feature/trace-macro 2019-05-21 11:44:50 -07:00
74a758d39e Add progress on next_event 2019-05-18 16:31:08 -05:00
4760840a77 move stdout capture from runtime core to dev-utils 2019-05-17 15:48:30 -07:00
b3b5716dbb add files in runtime_Core 2019-05-17 13:31:41 -07:00
ec9c5360ef move stdio capture into runtime_core; rm emscripten dep in wasi 2019-05-17 13:30:10 -07:00
4ddffb8285 Update libraries versions to 0.4.2 2019-05-16 14:39:13 -07: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
14fcd78b30 Update bin/wasmer and run cargo fmt. 2019-05-17 01:15:05 +08:00
6aa87a0bbf Add the internals field and necessary structures for metering. 2019-05-17 01:10:21 +08:00
a9f643f774 add trace macro for more verbose debug statements 2019-05-15 11:46:17 -07:00
ee09209bfb Fix clippy error. 2019-05-14 16:59:18 +08:00
1e7a928d64 Add comments. 2019-05-14 16:13:42 +08:00
32f9aee6fe Cargo fmt 2019-05-14 16:04:08 +08:00
722ea39877 Cleanup loader code. 2019-05-14 16:02:27 +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
b2227314a7 Merge #436
436: Add deny for unreachable patterns and unused unsafe r=syrusakbary a=bjfish



Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
2019-05-12 22:16:44 +00:00
2aefa731a6 Add deny for unreachable patterns and unused unsafe 2019-05-12 00:33:02 -05:00
a96d5cb975 Fix f32/f64 conversion, add tests, and rename conversion method 2019-05-11 19:26:17 -05:00
85158ac22a Add some initial deny for unused_imports and unused_variables
Additional unused variable fix on unix

Remove unused import on unix

Remove unused windows import
2019-05-11 09:23:25 -05:00
080220c6a7 Merge branch 'master' into feature/llvm-cgapi 2019-05-08 17:33:06 -07:00
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