2897 Commits

Author SHA1 Message Date
lyon1998
70272273aa release and update v1.5.0 for g070 template and rtthread 2022-03-16 23:02:22 +08:00
lyon1998
0ebd08e245 add asm to bytecode print 2022-03-16 14:46:23 +08:00
lyon1998
12ed23ddd7 use exist const, fix RET parse format 2022-03-16 14:40:51 +08:00
lyon1998
a868117fbc save bytecode to heap in the first obj_run is ok 2022-03-16 13:42:43 +08:00
lyon1998
66c583218e args_heapStuct is tested ok 2022-03-16 12:16:09 +08:00
lyon1998
0303fa5023 parse Asm single Line to ByteCode directly 2022-03-16 00:48:52 +08:00
lyon1998
c970d45f43 task is ok 2022-03-15 18:26:33 +08:00
lyon1998
871c48f17c save bytecode_frame to method_info is ok 2022-03-15 17:50:01 +08:00
lyon1998
d5db14067a use arg_append to save MethodInfo is ok 2022-03-15 17:46:22 +08:00
lyon1998
2292d3ab97 use content_size == new_size 2022-03-15 17:10:05 +08:00
lyon1998
8b9b124bd5 only copy when arg size lager than new content size 2022-03-15 16:13:22 +08:00
lyon1998
bef0a22ba9 not realloc when size equal when setContent 2022-03-15 16:09:18 +08:00
lyon1998
7b45fdfdf5 add runByteCodeWithState to VM.h 2022-03-15 13:01:05 +08:00
lyon1998
5a97c8cb96 use byteCode_frame in VMState 2022-03-15 12:31:05 +08:00
Lyon
4ea5d3be0f
Update README_zh.md 2022-03-15 10:16:07 +08:00
Lyon
9fecf0f70c
Update README.md 2022-03-15 00:00:07 +08:00
lyon1998
03ad83a7d9 clear pikaVM_run_config 2022-03-14 21:24:35 +08:00
lyon1998
044e02ea8f use pc instead of pc_i 2022-03-14 21:19:39 +08:00
lyon1998
371ccd1c08 clear ran asm directly 2022-03-14 21:18:35 +08:00
lyon1998
66884deb78 clear run as asm 2022-03-14 21:12:32 +08:00
lyon1998
5d1b83a417 solve bug when jum to the end 2022-03-14 18:46:57 +08:00
lyon1998
48ffadf060 print error info with constPool 2022-03-14 17:48:08 +08:00
lyon1998
daa8e01c10 task, class is not ok 2022-03-14 16:00:09 +08:00
lyon1998
25e1a76f02 def for bytecode is ok 2022-03-14 15:56:08 +08:00
lyon1998
f16cbd0292 add api to run byteCode with const_pool_ptr, inst_array_ptr and pc 2022-03-14 15:41:28 +08:00
lyon1998
7f0413a458 run frame_buff in local is not ok 2022-03-14 14:04:21 +08:00
lyon1998
c21a1cfc3b use ARG_TYPE to run method 2022-03-14 13:54:10 +08:00
lyon1998
0face9d39d use arg_type to select method type 2022-03-14 13:53:52 +08:00
lyon1998
c2a459a0ab befor add native_method 2022-03-14 13:43:07 +08:00
lyon1998
8d84cb6423 use VMstate_getBlockDeeptheNow instead of &offset 2022-03-14 13:31:58 +08:00
lyon1998
34078825f8 use bytecode in benchmark 2022-03-14 12:34:02 +08:00
lyon1998
9be5ac4b88 def is not ok 2022-03-14 12:16:52 +08:00
lyon1998
dddcc30b44 test for continue and break is ok 2022-03-14 12:12:04 +08:00
lyon1998
f72fb9d84a use __gotoXXXLine instead 2022-03-14 11:02:54 +08:00
lyon1998
641e0334d4 use inline in ins_array_get_by_offset 2022-03-14 10:52:13 +08:00
lyon1998
6501e9e23e jmp for byteCode is ok 2022-03-14 10:49:14 +08:00
lyon1998
2aec277fc3 ready to support static jmp 2022-03-14 10:27:42 +08:00
lyon1998
6ac37003d3 use VMState to get offset from break and continue is ok 2022-03-14 10:23:00 +08:00
lyon1998
86253e9eaf use VMState_method istead of __fun 2022-03-13 19:01:34 +08:00
lyon1998
ec4b196195 fix warning 2022-03-13 17:37:50 +08:00
lyon1998
842fc67f23 run byteCodeFrame without jmp is ok 2022-03-13 16:59:01 +08:00
lyon1998
43c17b2d81 int ins_addr before 2022-03-13 16:09:14 +08:00
lyon1998
63e07a6806 mov VMstate to vm.h 2022-03-13 16:03:53 +08:00
lyon1998
2d6efdc7a2 fix warnings 2022-03-13 16:02:34 +08:00
lyon1998
b0ccc6b0a1 supporting run ByteCode 2022-03-13 14:24:36 +08:00
lyon1998
c6bc5217b6 use typedef VMState 2022-03-13 13:08:24 +08:00
lyon1998
d83265d345 byteCodePrint is ok 2022-03-13 13:04:07 +08:00
lyon1998
eb35a8c536 byteCodeFrame_print is ok 2022-03-13 13:00:45 +08:00
lyon1998
e73a8d2950 append bytecodeUnit when append byteCodeFrame tested ok 2022-03-13 12:54:44 +08:00
lyon1998
8d5ba40b14 instructArray print is ok 2022-03-13 12:01:25 +08:00