299 Commits

Author SHA1 Message Date
Svyatoslav Nikolsky
9437b7bdfc merge 2 error enums 2017-08-01 14:44:33 +03:00
Svyatoslav Nikolsky
a02fdf5836 return custom user errors from native functions 2017-08-01 13:16:25 +03:00
Nikolay Volf
1aa6c9ccd6 Merge pull request #79 from NikVolf/native_globals
Allow to pass user-defined globals along with user functions to env-native
2017-07-31 13:19:25 +03:00
Svyatoslav Nikolsky
8eee595e77 native globals 2017-07-31 11:58:24 +03:00
Nikolay Volf
1d12c323c1 Merge pull request #78 from frehberg/master
adding interpreter test for WASM generated from C++
2017-07-28 20:04:50 +03:00
Frank Rehberger
ad01ebdaaa adding interpreter test for WASM generated from C++ 2017-07-28 16:35:27 +02:00
Svyatoslav Nikolsky
548e6ebbf9 all globals, exported from env are non-mutable 2017-07-28 11:01:27 +03:00
NikVolf
cf804da81d fix name 2017-07-26 21:57:31 +03:00
NikVolf
8bb17db6d9 Merge remote-tracking branch 'origin/master' into fix-membase 2017-07-26 21:57:11 +03:00
NikVolf
218b07a7db add memoryBase global to env module 2017-07-26 21:56:54 +03:00
Svyatoslav Nikolsky
2f73f02831 instantiate env module 2017-07-25 15:26:31 +03:00
fro
a5da7d604b global import breaks with Function("missing exports with name STACKTOP") 2017-07-25 14:31:17 +03:00
fro
35601d02b9 fix indentation 2017-07-22 18:35:19 +03:00
fro
72ad104b94 Test i64 and u64 types serealization/deserialization 2017-07-21 13:44:18 +03:00
fro
d096e04052 assert global value persistence 2017-07-11 19:12:01 +03:00
Nikolay Volf
7196129b32 Merge pull request #65 from NikVolf/cache_internals
Cache internals for ModuleInstance::export_entry
2017-06-28 12:57:55 +03:00
Nikolay Volf
f5a232caa9 Merge pull request #64 from NikVolf/builder-docs
Some builder examples in doc tests
2017-06-28 12:55:45 +03:00
Svyatoslav Nikolsky
aad4dfa67e cache internals 2017-06-28 11:03:01 +03:00
NikVolf
84ad965596 global example 2017-06-27 18:36:27 +03:00
Svyatoslav Nikolsky
b82592c03e removed grow() call 2017-06-27 15:26:10 +03:00
Svyatoslav Nikolsky
216f8ae871 fixed test lags 2017-06-27 15:21:10 +03:00
NikVolf
c72dfae354 export example 2017-06-27 14:12:57 +03:00
NikVolf
447c3db90d import doc example 2017-06-27 13:54:51 +03:00
NikVolf
41d6f48df4 example for module() 2017-06-27 13:45:33 +03:00
NikVolf
eb2bf0b49f formatting issues 2017-06-26 22:29:40 +03:00
NikVolf
c96ccdf5bb small test 2017-06-26 22:28:48 +03:00
NikVolf
4c19461753 remaining ops 2017-06-26 22:26:03 +03:00
NikVolf
31369db430 static ops 2017-06-26 19:04:05 +03:00
NikVolf
0113995868 proper offset display 2017-06-26 18:55:09 +03:00
NikVolf
222161d7e3 value_type display and more 2017-06-26 18:24:54 +03:00
NikVolf
0034e08dc6 initial 2017-06-26 18:18:08 +03:00
Svyatoslav Nikolsky
7195b97095 fixed native functions argument order 2017-06-26 17:32:18 +03:00
Svyatoslav Nikolsky
6aec26e0ff get rid of function labels clone 2017-06-26 12:28:21 +03:00
Svyatoslav Nikolsky
4b3f67e3cc function_type returns type reference 2017-06-26 11:54:34 +03:00
Svyatoslav Nikolsky
a8e13030ec removed panics && lifetimes 2017-06-23 14:11:09 +03:00
Svyatoslav Nikolsky
ca001e21df remove comment 2017-06-23 13:21:27 +03:00
Svyatoslav Nikolsky
b40591e121 remove comments 2017-06-23 13:20:41 +03:00
Svyatoslav Nikolsky
66e2d0ae10 removed extra instruction outcomes 2017-06-23 11:00:18 +03:00
Svyatoslav Nikolsky
8209ff7d6d use ModuleInstance methods for validation 2017-06-23 10:39:31 +03:00
Svyatoslav Nikolsky
c944b4c91e simplify else validation 2017-06-23 09:53:05 +03:00
Svyatoslav Nikolsky
673392cad4 get rid of duplicate BlockFrame 2017-06-23 09:20:58 +03:00
Svyatoslav Nikolsky
a8852a9791 removed debug printlns 2017-06-22 18:03:34 +03:00
Svyatoslav Nikolsky
4b61e18929 plain instruction set draft 2017-06-22 17:52:05 +03:00
Svyatoslav Nikolsky
61f2ea770d extend -> resize 2017-06-21 14:17:14 +03:00
Svyatoslav Nikolsky
2b71ce79cb type removed 2017-06-21 13:58:40 +03:00
Svyatoslav Nikolsky
5740dc142a check table type 2017-06-21 11:43:57 +03:00
Svyatoslav Nikolsky
08c8bf330e TableElementType 2017-06-21 11:35:09 +03:00
Svyatoslav Nikolsky
4eb04d2732 create memory buffer with initial capacity 2017-06-21 10:52:58 +03:00
Svyatoslav Nikolsky
0f2530f4c5 expect("TODO") 2017-06-21 09:45:54 +03:00
Svyatoslav Nikolsky
4ad3808e20 check export type in env_native 2017-06-21 09:23:20 +03:00