Commit Graph

92 Commits

Author SHA1 Message Date
Svyatoslav Nikolsky
ad390c95fd cleaning 2017-06-19 12:09:18 +03:00
Svyatoslav Nikolsky
7bd7c6df98 cleanup 2017-06-19 12:04:16 +03:00
Svyatoslav Nikolsky
8d7d39d80b call && call_indirect are working 2017-06-19 11:01:59 +03:00
Svyatoslav Nikolsky
0fc044cb5a flush 2017-06-16 12:23:49 +03:00
Svyatoslav Nikolsky
669fdf1ed1 getting rid of calls recursion (continue) 2017-06-15 12:12:21 +03:00
Svyatoslav Nikolsky
b8405955c1 get rid of block-level recursion 2017-06-13 17:16:38 +03:00
Svyatoslav Nikolsky
9e9b573d84 br_table 2017-06-13 13:28:05 +03:00
Svyatoslav Nikolsky
0ee2826943 another tests added 2017-06-13 12:01:59 +03:00
Svyatoslav Nikolsky
c8614bf6fe next potion of tests added 2017-06-09 12:13:35 +03:00
Svyatoslav Nikolsky
5a84fa01f8 validate code after unreachable 2017-06-08 15:40:08 +03:00
Svyatoslav Nikolsky
0cb48d7730 module level validation 2017-06-08 10:49:32 +03:00
Svyatoslav Nikolsky
f0ecdc5af2 instructions validator 2017-06-07 14:48:02 +03:00
NikVolf
9a38c75a10 and working address.wast 2017-06-06 12:25:02 +03:00
Svyatoslav Nikolsky
de85e5996a f32_bitwise && f64_bitwise 2017-06-06 10:45:05 +03:00
Svyatoslav Nikolsky
1a8537dd84 f32 && f64 tests 2017-06-05 18:48:08 +03:00
NikVolf
4449240a21 remove line 2017-06-05 15:33:31 +03:00
NikVolf
b094228a22 arrange first bunch of tests 2017-06-05 15:30:03 +03:00
NikVolf
e1d9dd2b79 overflow division fix 2017-06-05 14:01:10 +03:00
NikVolf
ede0de1247 division fix 2017-06-05 13:56:08 +03:00
NikVolf
a080b42db0 fix also functions_section -> function_section 2017-06-03 23:37:36 +03:00
Dan Gohman
7e63159a1b Move FunctionContext::new's call to push_frame to Interpreter::run_function.
This makes it more consistent with run_block and others, and also means
that FunctionContext::new doesn't need to be passed the function body
and doesn't need to return a Result, which simplify its users.
2017-06-02 09:22:03 -07:00
Robert Habermeier
8b14e9fdda make unsafe more safe 2017-05-31 18:44:52 +02:00
NikVolf
c03f2709cd public api and example update 2017-05-30 17:24:22 +03:00
NikVolf
d981bf4803 expose custom params for new program 2017-05-30 17:15:36 +03:00
NikVolf
5aa419d3d5 few doc comments 2017-05-22 19:54:56 +03:00
Svyatoslav Nikolsky
a0bfa322c6 UserFunctionExecutor 2017-05-19 09:36:50 +03:00
Svyatoslav Nikolsky
977df55323 NativeModuleInstance 2017-05-18 15:08:55 +03:00
NikVolf
3fb35f29b2 tests and bug fixed for i64store interpretation 2017-05-16 14:42:58 +03:00
NikVolf
fa86543fbb module reference in user functions closures 2017-05-15 19:03:49 +03:00
NikVolf
429e54d928 another extension of user functions tests 2017-05-15 16:15:05 +03:00
NikVolf
2063bed2bd exptended test for user functions 2017-05-15 15:57:46 +03:00
NikVolf
b7ff4d92d4 simple user function 2017-05-15 15:40:08 +03:00
NikVolf
21ff1509f6 user-functions initial 2017-05-15 13:58:55 +03:00
NikVolf
74d5f152bf add module resolving to program instance 2017-05-12 20:45:58 +03:00
NikVolf
53659c8b35 interpretter unhappy test 2017-05-12 19:49:51 +03:00
NikVolf
f02b2c5cad itemindex to public 2017-05-12 14:11:58 +03:00
Svyatoslav Nikolsky
640237ea56 env module implementation 2017-05-08 11:35:56 +03:00
Svyatoslav Nikolsky
65b09ceba1 fixed tests compilation 2017-05-04 19:54:51 +03:00
Svyatoslav Nikolsky
fb14751864 continue env 2017-05-04 19:50:48 +03:00
Svyatoslav Nikolsky
7511e3095a continue env 2017-05-04 19:30:42 +03:00
Svyatoslav Nikolsky
5c97dc0ce9 continue env 2017-05-04 19:25:00 +03:00
Svyatoslav Nikolsky
3c7ee09f8e continue env module implementation 2017-05-04 19:09:43 +03:00
Svyatoslav Nikolsky
9a5ed312ec env memory 2017-05-04 12:01:21 +03:00
Svyatoslav Nikolsky
b4215aed3c env module stub 2017-05-04 11:25:25 +03:00
Svyatoslav Nikolsky
15555aba2b fixed external memory/table init 2017-05-04 10:58:16 +03:00
Svyatoslav Nikolsky
013ff25b97 fixed InitExpr(Opcode::Global) 2017-05-04 10:37:33 +03:00
Svyatoslav Nikolsky
b57e6d5d98 TODOs 2017-05-03 11:55:05 +03:00
Svyatoslav Nikolsky
990936b0f2 fixed get_initializer 2017-05-03 11:45:28 +03:00
Svyatoslav Nikolsky
d9b7b4634c fixed store_f64 2017-05-03 11:37:54 +03:00
Svyatoslav Nikolsky
4646f64b91 fixed binary_f64 2017-05-03 11:23:34 +03:00