Commit Graph

11145 Commits

Author SHA1 Message Date
Dan Gohman
6cf7a975a1 Factor out a repeated string, and reduce the length of a long line. 2018-08-14 12:28:33 -07:00
bjorn3
3f0103f936 Prevent finalize being called more than once per func/data (fixes #407) 2018-08-14 10:57:59 -07:00
Grégoire Geis
dbc547091f Verifier now accepts multiple errors (fixes #387). (#452)
* Verifier now accepts multiple errors (fixes #387).
2018-08-14 10:55:10 -07:00
bjorn3
3f582f7cbd Legalize br_icmp (#449)
* Legalize br_icmp
2018-08-13 18:31:39 -07:00
Dan Gohman
bee5210b40 Merge pull request #461 from bjorn3/legalize-bint-i8
Legalize bint.i8
2018-08-13 16:02:11 -07:00
Dan Gohman
fad33a6136 Merge pull request #454 from Amanieu/bforest
Split bforest into a separate crate
2018-08-13 15:59:34 -07:00
Dan Gohman
51698f93f2 Merge branch 'master' into bforest 2018-08-13 15:55:31 -07:00
Caroline Cullen
6f9982fdf5 Updating Sphinx link and install instructions 2018-08-13 15:46:51 -07:00
Amanieu d'Antras
df7fa19807 Fix README and license 2018-08-13 23:30:09 +02:00
Dan Gohman
4769e67468 Fix a few declarations for the no_std build. 2018-08-13 12:52:43 -07:00
Dan Gohman
3b56b2f4fb Fix rustfmt errors. 2018-08-13 12:52:09 -07:00
Dan Gohman
d4a83576e4 Add a few miscellaneous comments. 2018-08-13 12:51:49 -07:00
Dan Gohman
f34531ab36 Synchronize cranelift-serde's lint settings with the other crates. 2018-08-13 12:51:49 -07:00
Dan Gohman
cc4bf1c7fb Deny unstable_features in "std" builds. 2018-08-13 12:51:49 -07:00
Dan Gohman
8bd1b877ef Elaborate on some comments. 2018-08-13 12:51:49 -07:00
Benjamin Bouvier
a044f58cea Fixes #404: Use log.rs and a file-per-thread logger instead of the dbg! macro; 2018-08-13 12:51:14 -07:00
bjorn3
fa65ee7a68 Legalize bint.i8 2018-08-13 21:23:25 +02:00
Daniel Keep
60c2cad06e Add SimpleJIT internal symbol table.
Allows for host programs to directly expose symbols to jitted code without
needing to deal with platform-specific linker arguments, or dynamic
dispatch.
2018-08-13 12:19:31 -07:00
bjorn3
eb01ae530b Fix gitter link (fixes #458) 2018-08-13 11:59:44 -07:00
Amanieu d'Antras
0b548c720c Don't make the Comparator a type argument for bforest 2018-08-12 15:46:35 +02:00
Amanieu d'Antras
ae3a3c368b Move bforest into a separate crate 2018-08-12 15:46:35 +02:00
Sergey Pepyakin
e7c8d23a42 Implement memory.grow and memory.current (#9)
* Implement.

* Clean and doc

* Collect base addresses instead of leaking them

* Fix code for 1.25.

* Simplify $assert

* Use AbiParam::special.

* Use &mut self in base_addr
2018-08-11 06:52:43 -07:00
Caroline Cullen
ad184ff9aa Fixing serde formatting. 2018-08-09 20:12:43 -07:00
Caroline Cullen
9683adec64 Updating documentation for serde 2018-08-09 20:12:43 -07:00
Maddy
32b332b733 Format files. 2018-08-09 19:52:21 -07:00
Maddy
ee9e5cba49 Convert the start function index from a DefinedFuncIndex to a FuncIndex. 2018-08-09 19:52:21 -07:00
Maddy
f5d46cabe7 Use types to distinguish between wasm function body indices and wasm function indices. 2018-08-09 19:52:21 -07:00
Benjamin Bouvier
f7e481d9ac Implement wasm saturating conversions; 2018-08-09 19:50:41 -07:00
Sergey Pepyakin
9dbfbbde10 Stack Limit as an Argument Purpose (#372)
* Initial approach.

* Move stack_limit check before opening the frame

* Account for GPRs and frame pointer in stack check

* Check stack_limit example.

* Remove stack_limit attribute code.

Amends #359

* fmt
2018-08-04 06:16:21 -07:00
Dan Gohman
5379605737 Use the correct organization name. 2018-08-03 16:03:09 -07:00
Dan Gohman
c59cec6205 Update for Cretonne->Cranelift rename. 2018-08-03 16:02:00 -07:00
Dan Gohman
bb2589c63f Remove python code artifacts. 2018-08-03 16:00:41 -07:00
Dan Gohman
f500b7d68d Add build status badges. 2018-08-03 16:00:24 -07:00
Dan Gohman
1f21570c38 Bump version to 0.0.0 2018-08-03 15:44:31 -07:00
Dan Gohman
48e46c4fae Update fuzz targets for API changes. 2018-08-03 15:43:51 -07:00
Dan Gohman
4992162fab Format with rustfmt. 2018-08-03 15:37:57 -07:00
Dan Gohman
40791787c7 Update repository URLs. 2018-08-03 15:37:30 -07:00
Dan Gohman
a1b4c865d1 Prepare wasmtime-environ for publishing. 2018-08-03 15:33:15 -07:00
Dan Gohman
bba733b7a1 Tidy up a comment. 2018-08-03 15:26:26 -07:00
Dan Gohman
548c45c604 Rename wasmtime-runtime to wasmtime-environ.
This mirrors changes in cranelift.
2018-08-03 15:20:19 -07:00
Dan Gohman
b8daa27884 Update test-all.sh. 2018-08-03 15:11:02 -07:00
Dan Gohman
ef5254c0da More code reorganization and cleanups. 2018-08-03 15:06:59 -07:00
Dan Gohman
33b7dfac00 Rename ptr_size. 2018-08-03 14:20:15 -07:00
Dan Gohman
831b481f13 More code reorganization. 2018-08-03 14:18:23 -07:00
Dan Gohman
6659ef7018 More code reorganization. 2018-08-03 13:35:25 -07:00
Dan Gohman
fdd3600f1b Delete a redundant function. 2018-08-03 13:19:21 -07:00
Dan Gohman
0d8a69189c Remove unused TableElement struct. 2018-08-03 13:15:31 -07:00
Dan Gohman
779128d14d Factor out FuncEnvironment and ModuleEnvironment into a separate file. 2018-08-03 13:04:05 -07:00
Dan Gohman
63bc52d9fd Eliminate runtime's direct dependeny on wasmparser. 2018-08-03 12:43:36 -07:00
Dan Gohman
217786e969 Add a note about the "rustc" tag in the issue tracker.
And other minor documentation fixes.
2018-08-03 12:17:25 -07:00