Commit Graph

279 Commits

Author SHA1 Message Date
Sergey Pepyakin
e74b47758a fmt 2017-12-18 16:12:59 +03:00
Sergey Pepyakin
569d89357f Add todos about docs 2017-12-18 16:06:56 +03:00
Sergey Pepyakin
ac96969ae3 Clean 2017-12-18 16:00:36 +03:00
Sergey Pepyakin
afb33d6f16 Rename Initialization error to Instatiation 2017-12-18 15:42:01 +03:00
Sergey Pepyakin
9dd7a5dfaf Check global's type on instantiation. 2017-12-18 15:34:17 +03:00
Sergey Pepyakin
0e89639fe6 Refactor host 2017-12-18 15:19:18 +03:00
Sergey Pepyakin
848389ed88 Fix tests 2017-12-18 13:52:12 +03:00
Sergey Pepyakin
a1b3064fbf Use slices for args in usercode and Cow for invoke 2017-12-18 13:28:23 +03:00
Sergey Pepyakin
460daf8651 Deprecate ProgramInstance. 2017-12-18 13:04:05 +03:00
Sergey Pepyakin
d53487800c Few renamings 2017-12-18 12:59:59 +03:00
Sergey Pepyakin
5077aae512 Use shared ref to pass the State. 2017-12-17 18:29:06 +03:00
Sergey Pepyakin
2d2645b7ac Fix warnings 2017-12-16 19:11:07 +03:00
Sergey Pepyakin
6e2eea2fd2 Add native_ref_state test 2017-12-16 19:09:30 +03:00
Sergey Pepyakin
8b58e9f814 Add with_func0 and with_func1 2017-12-16 18:19:35 +03:00
Sergey Pepyakin
6ca98c1fa8 Fix spec tests 2017-12-15 18:56:49 +03:00
Sergey Pepyakin
11afa2dc2f Add St everywhere 2017-12-15 18:23:54 +03:00
Sergey Pepyakin
e5bac395fd Rename FunctionExecutor to TestState 2017-12-14 17:40:47 +01:00
Sergey Pepyakin
e7a9f0953e Host modules now ImportResolvers 2017-12-14 15:34:13 +01:00
Sergey Pepyakin
e49b849624 Use new APIs to instantiate module in basic test 2017-12-13 19:15:45 +01:00
Sergey Pepyakin
4faeca7812 Add instantiation wizard 2017-12-13 19:11:25 +01:00
Sergey Pepyakin
b2a9f8f3f5 Move store into module.rs 2017-12-13 18:31:40 +01:00
Sergey Pepyakin
11e2683069 Move out func 2017-12-13 18:28:34 +01:00
Sergey Pepyakin
075ed7d369 Move out GlobalInstance. 2017-12-13 18:19:42 +01:00
Sergey Pepyakin
5eaf2ca183 Remove variable.rs 2017-12-13 18:15:13 +01:00
Sergey Pepyakin
47ec274700 Implement SpecModule in terms of import resolver 2017-12-13 18:08:30 +01:00
Sergey Pepyakin
f3584dbd17 fmt 2017-12-13 17:33:10 +01:00
Sergey Pepyakin
92597ae56a Make Program work thru Imports 2017-12-13 17:31:30 +01:00
Sergey Pepyakin
547bc64992 ImportResolver for ModuleInstance 2017-12-13 17:26:18 +01:00
Sergey Pepyakin
d1c30b1ab1 Imports 2017-12-13 17:17:01 +01:00
Sergey Pepyakin
6089807d78 Add import resolver 2017-12-13 16:57:28 +01:00
Sergey Pepyakin
1bbfd4219f invoke_index & invoke_export moved to module 2017-12-13 16:27:37 +01:00
Sergey Pepyakin
871b36187d Clean 2017-12-13 15:03:06 +01:00
Sergey Pepyakin
bdc9490197 Move instantiate into ModuleInstance 2017-12-13 15:00:54 +01:00
Sergey Pepyakin
68d7005554 Clean 2017-12-13 14:40:57 +01:00
Sergey Pepyakin
8b355f32d4 Clean 2017-12-13 14:38:08 +01:00
Sergey Pepyakin
9e09508cf5 Replace ModuleIds to Rcs 2017-12-13 14:36:06 +01:00
Sergey Pepyakin
667417177c Replace types by Rcs 2017-12-13 13:56:14 +01:00
Sergey Pepyakin
dd3bc6da7c Replace all globals with Rcs. 2017-12-13 13:48:12 +01:00
Sergey Pepyakin
0927e359f3 Replace all memories with Rcs 2017-12-13 13:40:40 +01:00
Sergey Pepyakin
85bac6dba3 Replace all table ids with Rcs 2017-12-13 13:34:15 +01:00
Sergey Pepyakin
471ec25732 Clean 2017-12-13 13:29:28 +01:00
Sergey Pepyakin
2ae72c1dab Replace all func_ids to Rcs. 2017-12-13 13:25:24 +01:00
Sergey Pepyakin
ad06080c1b function types import matching 2017-12-13 13:00:07 +01:00
Sergey Pepyakin
2cfb0a6159 Debugging for store 2017-12-12 18:18:08 +01:00
Sergey Pepyakin
0bbd55cf21 Fix spectest 2017-12-12 17:01:02 +01:00
Sergey Pepyakin
4b2c100d1f Fix warnings 2017-12-12 16:31:58 +01:00
Sergey Pepyakin
c5c8af03e1 Fix wasm tests 2017-12-12 15:40:54 +01:00
Sergey Pepyakin
4297a64e9e Fix wabt tests 2017-12-12 15:34:59 +01:00
Sergey Pepyakin
1fc65ca54f Fix basics tests 2017-12-12 15:18:35 +01:00
Sergey Pepyakin
74559a49b0 Func0 & Func2. 2017-12-12 10:32:51 +01:00