Sergey Pepyakin
e4dcf553a2
Rename.
2019-04-16 14:39:34 +02:00
Sergey Pepyakin
fc36931c06
Get rid of memory_units dependency in validation
2019-04-16 14:27:05 +02:00
Sergey Pepyakin
9935df3307
Renamings.
2019-04-15 20:17:44 +02:00
Sergey Pepyakin
0b11d665aa
Make wasmi compilation tests work
2019-04-15 20:02:55 +02:00
Sergey Pepyakin
584b1fd2e9
Make validation tests work
2019-04-15 19:43:51 +02:00
Sergey Pepyakin
e78f8ad37e
Rename validate_module2 → validate_module
2019-04-15 19:00:32 +02:00
Sergey Pepyakin
44acdd6eb7
Move deny_floating_point to wasmi
2019-04-15 18:57:30 +02:00
Sergey Pepyakin
321f0b765c
Make it work under no_std
2019-04-15 17:45:54 +02:00
Sergey Pepyakin
379e960c94
Clean.
2019-04-15 17:35:29 +02:00
Sergey Pepyakin
cf0f8b4ad6
Fix warnings.
2019-04-15 17:34:56 +02:00
Sergey Pepyakin
3cc5dd6485
Format it.
2019-04-15 17:34:09 +02:00
Sergey Pepyakin
1dad287999
Make it compile.
2019-04-15 17:33:50 +02:00
Sergey Pepyakin
e167cbcb96
Make validation compile
2019-04-15 17:25:34 +02:00
Sergey Pepyakin
baf60ac977
The great move of validation
2019-04-15 17:16:20 +02:00
Sergey Pepyakin
f02a356b6b
WIP
2019-04-15 17:15:48 +02:00
Sergey Pepyakin
cd4948e37e
Comments.
2019-04-09 18:10:28 +02:00
Sergey Pepyakin
b7a94855d8
Move code under prepare
2019-04-08 16:20:21 +02:00
Sergey Pepyakin
fc3d21a17a
Express the compiler using validation trait
2019-04-08 15:41:44 +02:00
Sergey Pepyakin
9723dfbfb6
Add Validation traits
2019-04-08 14:49:53 +02:00
Sergey Pepyakin
eaa030afa7
Move push_label under validation context.
2019-04-08 10:59:34 +02:00
Sergey Pepyakin
628815ac0f
fmt
2019-04-05 23:56:55 +02:00
Sergey Pepyakin
05527b05db
Rename to compiler.
2019-04-05 23:41:29 +02:00
Sergey Pepyakin
b13c730604
Move sink to FunctionReader
2019-04-05 23:36:21 +02:00
Sergey Pepyakin
33125dd00f
Validation separated from compilation.
2019-04-05 23:21:43 +02:00
Sergey Pepyakin
a4b7140c0e
Refactoring cleaning
2019-04-05 23:19:39 +02:00
Sergey Pepyakin
382d68d4b4
Extract compilation
2019-04-05 18:42:58 +02:00
Sergey Pepyakin
30c738c571
Finally get rid from frame_type.
2019-04-05 14:30:31 +02:00
Sergey Pepyakin
ff379cb950
Avoid using frame_type.
2019-04-05 14:29:43 +02:00
Sergey Pepyakin
57251eec79
Mirror label_stack.
2019-04-05 14:17:15 +02:00
Sergey Pepyakin
4e2347b4bf
Actually use started_with.
2019-04-05 14:10:40 +02:00
Sergey Pepyakin
5c183c4da0
Introduce StartedWith
2019-04-05 13:38:12 +02:00
Sergey Pepyakin
0994150ba2
Get rid of outcome
2019-04-05 13:25:17 +02:00
Sergey Pepyakin
d813c912a5
Rework.
...
Now we will a compiler which wraps and uses info from a evaluation simulator.
2019-04-05 13:22:33 +02:00
Sergey Pepyakin
58e4722a39
Attempt number 10
2019-04-01 20:49:49 +02:00
Sergey Pepyakin
7868e77f8e
Add comment about safety of top_label
2019-04-01 17:46:58 +02:00
Sergey Pepyakin
cf0dee5c18
return_type isn't failable
2019-04-01 17:20:46 +02:00
Sergey Pepyakin
716e8b5613
Add some docs.
2019-04-01 17:20:14 +02:00
Sergey Pepyakin
0267b20e6e
Bump version to 0.4.4
2019-03-15 12:13:10 +01:00
Elichai Turkel
b90fcaf2dd
Added the nightly feature to hashbrown ( #174 )
2019-03-15 12:08:25 +01:00
Elichai Turkel
8403cc3411
Add a check if NotStartedModuleRef has a start function ( #173 )
...
* Add a check if NotStartedModuleRef has a start function
* Removed redundant doc comment
Co-Authored-By: elichai <elichai.turkel@gmail.com>
2019-02-28 17:19:04 +01:00
Sergei Pepyakin
188ad62955
Update readme ( #167 )
...
* Restructure README
* Remove point of README
Since it dated since it was introduced. Priorities have changed since then, but on the other hand, at the moment of writing we already have a PR.
* Remove the note about parity-wasm
This now only has historic significance : )
* WASM → Wasm
* Expand our vision in more detail.
2019-02-26 15:45:55 +01:00
Elichai Turkel
e88d5d32e5
Removed Byteorder now that rust supports it natively ( #171 )
...
* Removed byteorder now that from_le_bytes is stabilized
* Rust fmt
2019-02-26 11:37:14 +01:00
Elichai Turkel
23b054c0e5
Replaced hashmap_core with hashbrown ( #161 )
2019-01-20 17:59:26 +01:00
Leonardo Yvens
ad14d82bce
Expose globals to host ( #158 )
...
* Make `global_by_index` pub, add `globals` getter
* simplify access to globals
2019-01-18 00:27:56 +01:00
Arkadiy Paronyan
073e4e7f1f
Fixed documentation for used_size ( #156 )
2019-01-08 16:16:49 +01:00
Sergey Pepyakin
7740f6b690
Bump wasmi to 0.4.3
2019-01-03 12:40:20 +01:00
Sergei Pepyakin
c3b21b337d
Update editorconfig ( #155 )
2019-01-03 12:38:23 +01:00
Sergei Pepyakin
d52ba8849a
Run rustfmt check on CI ( #154 )
...
* Run rustfmt check on CI
* Reformat.
2019-01-02 23:50:38 +01:00
Arkadiy Paronyan
e047f508fa
Track memory usage ( #153 )
...
* Track memory usage
* Track lowest_used in copy, etc.
* Extra comment for used_size
2019-01-02 22:13:21 +01:00
Jef
617be0198d
Check type when resuming function ( #152 )
...
* Check type when resuming function
* Remove pub(crate)
* Update lib.rs
2019-01-02 12:18:24 +01:00