2871 Commits

Author SHA1 Message Date
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
lyon1998
87c30b2cb3 test ins_unit_print ok 2022-03-13 10:24:18 +08:00
lyon1998
459edb1d5d use inline arg_getContent 2022-03-12 23:38:56 +08:00
lyon1998
e9c3b91194 use inline constPool_getByOffset 2022-03-12 23:36:38 +08:00
lyon1998
7e832dc037 ByteCodeFrame_appendFromAsm for ConstPool is ok 2022-03-12 22:42:25 +08:00
lyon1998
7c989a16ca constPool_print is ok 2022-03-12 22:06:38 +08:00
lyon1998
8d234de6ba constPool append tools is ok 2022-03-12 21:55:11 +08:00
lyon1998
fbc88fed2d fix compilerPath from clang to gcc 2022-03-12 20:54:15 +08:00
lyon1998
2b02818c9e arg_append any content is ok 2022-03-12 20:52:25 +08:00
lyon1998
b3d6206c45 get byteCodeUnit and ConstPoolBuff from Asm is ok 2022-03-11 22:50:36 +08:00
lyon1998
a4cd654b45 tested ok byteCode_getTotleSize 2022-03-11 17:08:12 +08:00
lyon
716abf833c not use buffs in getNextLine 2022-03-10 18:18:44 +08:00
lyon
624ee16b59 setData and getData in byteCodeUnit is ok 2022-03-10 17:28:29 +08:00
lyon
b6e323e8fa add byteCodeUnit and tested set/get 2022-03-10 17:08:15 +08:00
lyon
0df8e6f61f fix method_getPtr type 2022-03-10 12:10:24 +08:00
lyon
76bed7951b use strGetSize instead of buffsize in obj_getObj 2022-03-10 12:08:37 +08:00
lyon
a998fddaf7 restore strPopToken 2022-03-09 21:56:12 +08:00
lyon
0c67a8dafe use memmov ins poptoken 2022-03-09 21:48:58 +08:00
lyon
54852c0c69 use stable version for rtthread port 2022-03-09 20:42:38 +08:00
lyon
167b36b106 fix release PikaStdDevicev1.4.4 pikaRTThread v1.1.1 pikaRTDevice==v1.0.0 2022-03-09 20:41:47 +08:00
lyon
ac4247e5fd use sys_malloc and fix a mem bug 2022-03-09 14:01:35 +08:00
lyon
db8094d9a5 class_def is not passed 2022-03-09 13:22:55 +08:00
lyon
8a6deb7513 use buffs = {0} instead of buffs = New_strBuff() 2022-03-09 12:39:06 +08:00
lyon
f6533d156b use pointTo instead of GetLastToken 2022-03-09 11:28:09 +08:00
lyon
daea9caa46 format 2022-03-09 10:27:02 +08:00
lyon
943e9f48b4 add benchmark/pika_config.h 2022-03-09 10:21:26 +08:00
lyon
8dea406b6d use pika_config in benchmark 2022-03-09 10:21:10 +08:00