695 Commits

Author SHA1 Message Date
lyon1998
5a97c8cb96 use byteCode_frame in VMState 2022-03-15 12:31:05 +08:00
lyon1998
03ad83a7d9 clear pikaVM_run_config 2022-03-14 21:24:35 +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
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
34078825f8 use bytecode in benchmark 2022-03-14 12:34:02 +08:00
lyon1998
dddcc30b44 test for continue and break is ok 2022-03-14 12:12:04 +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
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
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
0c67a8dafe use memmov ins poptoken 2022-03-09 21:48:58 +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
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
lyon
a0cad21ed9 fix -a != 0-a 2022-03-08 12:29:30 +08:00
lyon
aee0849c8d support obj_run fu defed in the first obj_run 2022-03-08 12:00:50 +08:00
lyon
60dd236d9b use readdocs instead of yuque 2022-03-06 01:40:49 +08:00
lyon
3b9dcd1b0c derive of class demo is passed 2022-03-02 15:48:27 +08:00
lyon
ea78cabb5f support 2022-03-02 15:43:27 +08:00
lyon
ee91552bbb pass class demo 1, run.sh not pass 2022-03-02 15:37:17 +08:00
lyon
e6002621bf main.py test in run.py no pass 2022-03-02 15:24:46 +08:00
lyon
03f5b2cff3 support class def and self 2022-03-02 15:03:11 +08:00
lyon
fd26a79fc8 rename TYPE_X to ARG_TYPE_X 2022-03-02 10:34:33 +08:00
lyon
195bf97fac call global fun tested ok inner class fun 2022-03-02 01:55:11 +08:00
lyon
849b8002b6 class def is nearly ok, pure fun is ok, connot call main fun 2022-03-01 22:45:59 +08:00
lyon
47905a12c9 add pikaMain to test class attribute 2022-03-01 20:57:04 +08:00