Commit Graph

3811 Commits

Author SHA1 Message Date
Syrus Akbary
de620bad32 Improved travis script 2018-10-19 12:17:41 +02:00
Syrus Akbary
380e5417d9 Removed unnecessary dependency libffi 2018-10-19 11:46:07 +02:00
Syrus Akbary
baf5f516a3 Added Spectests README 2018-10-19 11:42:51 +02:00
Syrus Akbary
0624e7874e Spectests rust files should be ignored by rustfmt 2018-10-19 11:35:25 +02:00
Syrus Akbary
617b66aad7 Documented the relocation module 2018-10-19 11:31:10 +02:00
Syrus Akbary
f95863964d Improved test banner 2018-10-19 11:31:02 +02:00
Syrus Akbary
76d9b2602e Added spectests autogenerated banner 2018-10-19 02:18:01 +02:00
Syrus Akbary
da492d9cec Improved build test script to only execute if necessary 2018-10-19 02:15:27 +02:00
Syrus Akbary
2953cf7836 Improved tests build script 2018-10-19 02:11:27 +02:00
Syrus Akbary
4029357d31 Added i32 tests 2018-10-19 01:44:48 +02:00
Syrus Akbary
0e50e09fc6 Added f32/f64 br_if tests 2018-10-19 01:31:31 +02:00
Syrus Akbary
a932fef217 Added automatic test generator from wasm spec 2018-10-19 01:29:12 +02:00
Syrus Akbary
5c5fbd309d Fixed memory issues 2018-10-19 01:28:16 +02:00
Syrus Akbary
6fce21e4d5 Added first tests for the vmctx (memory usage) 2018-10-18 19:01:09 +02:00
Syrus Akbary
80f3bf161e Removed unnecesary function 2018-10-18 12:05:00 +02:00
Syrus Akbary
96f2440960 Added working mock for memory (grow and size) 2018-10-18 00:09:04 +02:00
Syrus Akbary
d86e372b8e Fixed README links 2018-10-17 17:21:11 +02:00
Syrus Akbary
6534939005 Make import object non optional 2018-10-17 17:14:35 +02:00
Syrus Akbary
ba050f35cc Improved wasmer script 2018-10-17 16:45:24 +02:00
Syrus Akbary
e97b47e147 Added ImportObject structure. Added integration tests 2018-10-17 16:08:51 +02:00
Syrus Akbary
ab58faa7b7 Improved README 2018-10-17 11:31:21 +02:00
Syrus Akbary
c834f6b33e Function imports now fully working 2018-10-17 11:23:41 +02:00
Syrus Akbary
e2667e995d Added travis 2018-10-16 18:20:01 +02:00
Syrus Akbary
606afda496 Moved macros to common mod 2018-10-16 17:01:47 +02:00
Syrus Akbary
2cc93ddc38 Added basic identity function benchmark 2018-10-16 17:01:36 +02:00
Syrus Akbary
daefac46bb Improved tests coverage 2018-10-16 11:18:58 +02:00
Syrus Akbary
1879a14938 All function calls are now working 2018-10-16 03:24:36 +02:00
Syrus Akbary
7f7eff788d Function relocations are now working 2018-10-16 00:04:05 +02:00
Syrus Akbary
fade076fa4 Better reuse of function pointers in Instance 2018-10-15 20:45:16 +02:00
Syrus Akbary
b2d0968e49 Improved invoke function 2018-10-15 18:33:26 +02:00
Syrus Akbary
c989a61ce3 Improved tests 2018-10-15 15:58:23 +02:00
Syrus Akbary
dd0f1b1a2d Improved instance functions 2018-10-15 15:58:06 +02:00
Syrus Akbary
1482648219 Added module.info.exports for O(1) retrieval 2018-10-15 13:45:44 +02:00
Syrus Akbary
4c1e450c7f Added function pointer to the instance functions 2018-10-15 12:51:34 +02:00
Syrus Akbary
7685746655 Fixed Instance functions memory offsets 2018-10-15 12:44:24 +02:00
Syrus Akbary
714c27b502 Fixed used architecture 2018-10-15 12:44:07 +02:00
Syrus Akbary
ad31e295dd Fixed issue when there are no WebAssembly functions to allocate in memory 2018-10-15 11:52:36 +02:00
Syrus Akbary
69efaaaddd Fixed duplicated signature 2018-10-15 11:46:13 +02:00
Syrus Akbary
432ed4cdbf Make instance code more readable. 2018-10-15 11:46:04 +02:00
Syrus Akbary
69a6cd35f7 Improved debug macro 2018-10-15 11:45:40 +02:00
Syrus Akbary
8d790d78f9 Improved formatting 2018-10-15 03:03:00 +02:00
Syrus Akbary
78cf7800e5 Added function compilation 2018-10-15 02:48:59 +02:00
Syrus Akbary
e7788645d7 Added Module.verify function 2018-10-15 00:25:11 +02:00
Syrus Akbary
9bca617892 Improved README and added MIT LICENSE 2018-10-14 23:54:28 +02:00
Syrus Akbary
83baddd6c3 Improved README 2018-10-14 23:49:10 +02:00
Syrus Akbary
a9a580acee Formatted files 2018-10-14 23:48:59 +02:00
Syrus Akbary
48fbc850ea Improved runnable options 2018-10-14 23:47:35 +02:00
Syrus Akbary
6af9d0464a Improved main module 2018-10-14 23:17:24 +02:00
Syrus Akbary
3aaba4861f Improved errors module 2018-10-14 23:14:00 +02:00
Syrus Akbary
adbcf89470 Refactored instantiate function to return Module and Instance 2018-10-14 22:23:48 +02:00