Commit Graph

993 Commits

Author SHA1 Message Date
Yuichi Nishiwaki 67a856b1db [bugfix] pic_trampoline was broken 2014-02-07 09:49:49 +09:00
Yuichi Nishiwaki 85512d9ec0 update submodule 2014-02-07 02:29:07 +09:00
Yuichi Nishiwaki b50006381b remove unnecessary argument names in prototype 2014-02-06 14:23:29 +09:00
Yuichi Nishiwaki a512ef79f8 update tail-call.scm 2014-02-06 14:23:04 +09:00
Yuichi Nishiwaki 66ac29519e use pic_trampoline in pic_proc_apply 2014-02-06 14:22:42 +09:00
Yuichi Nishiwaki 2ef426d90b add trampoline helper 2014-02-06 14:22:29 +09:00
Yuichi Nishiwaki 845961e7f9 adjust OP_CALL count 2014-02-06 13:18:39 +09:00
Yuichi Nishiwaki 613f692c09 apply is broken with arg_list is nil 2014-02-06 13:04:11 +09:00
Yuichi Nishiwaki 9f21c8d7b1 Merge branch 'master' into trampoline 2014-02-06 13:01:31 +09:00
Yuichi Nishiwaki ae12ecb2e0 update submodule 2014-02-06 13:00:42 +09:00
Yuichi Nishiwaki c1e5eefbbd staticize compile function 2014-02-04 18:54:33 +09:00
Yuichi Nishiwaki 849746b919 remove redundant message 2014-02-04 18:54:01 +09:00
Yuichi Nishiwaki f29f10ddd7 clenaup debug message format 2014-02-04 18:53:51 +09:00
Yuichi Nishiwaki 060fb227a7 refactor pic_compile 2014-02-04 18:53:40 +09:00
Yuichi Nishiwaki 0d33900745 delegate initial instruction fetch to VM_LOOP 2014-02-04 18:42:37 +09:00
Yuichi Nishiwaki 0e0cc96859 booting message completely useless, shrink. 2014-02-04 18:39:47 +09:00
Yuichi Nishiwaki 90713100c2 show argument values when entering OP_CALL 2014-02-04 18:38:32 +09:00
Yuichi Nishiwaki 2d544ffa01 toplevel expression can be considered tail expresssion 2014-02-04 18:23:37 +09:00
Yuichi Nishiwaki ae2cae8a47 duplicate OP_RET 2014-02-04 18:22:18 +09:00
Yuichi Nishiwaki 3a4bf769ce don't emit duplicate OP_RET in codegen_lambda 2014-02-04 18:20:51 +09:00
Yuichi Nishiwaki f59ce74148 add RETURN node 2014-02-04 18:20:35 +09:00
Yuichi Nishiwaki dd547ac093 add OP_NOP 2014-02-04 16:58:50 +09:00
Yuichi Nishiwaki 16466fd35c use OP_NOP in pic_proc_apply 2014-02-04 16:20:49 +09:00
Yuichi Nishiwaki 7837a30d53 add OP_NOP 2014-02-04 16:20:17 +09:00
Yuichi Nishiwaki c3b45c6d16 'apply' calls given procedure by trampoline 2014-02-04 15:46:52 +09:00
Yuichi Nishiwaki d3a3c78829 add tail-call test 2014-02-04 14:35:42 +09:00
Yuichi Nishiwaki 2ed2b503a6 apply' argument treatment was broken 2014-02-04 14:33:36 +09:00
Yuichi Nishiwaki 96fc08dd0b [bugfix] close only closed variables... 2014-02-04 14:20:01 +09:00
Yuichi Nishiwaki a3b0fa701b rename pic_callinfo.pc -> ip 2014-02-04 10:46:36 +09:00
Yuichi Nishiwaki f090eae241 restore ip when returned from c function 2014-02-04 10:40:16 +09:00
Yuichi Nishiwaki 018db310d3 save instruction pointer to pic_state 2014-02-04 10:40:03 +09:00
Yuichi Nishiwaki 08337f1ed1 use 'pc' as little as possible 2014-02-04 10:28:40 +09:00
Yuichi Nishiwaki 0947173c32 small optimize 2014-02-04 10:28:22 +09:00
Yuichi Nishiwaki 2022fa163b fix #26 2014-02-04 10:18:31 +09:00
Yuichi Nishiwaki e8afc493e2 append contributor names 2014-02-04 00:56:36 +09:00
Yuichi Nishiwaki d95ca8a4b0 compiler doesn't necessarily set to be GCC 2014-02-03 01:28:07 +09:00
Yuichi Nishiwaki dc727d8d83 dynamically link libpicrin 2014-02-03 01:24:58 +09:00
Yuichi Nishiwaki d64b28d23b use -Wl,-rpath option 2014-02-03 01:23:03 +09:00
Yuichi Nishiwaki 0592c977da GC_DEBUG off by default 2014-01-19 01:14:45 -08:00
Yuichi Nishiwaki a99cf8458a implement ir-macro-transformer with C 2014-01-19 01:14:32 -08:00
Yuichi Nishiwaki 122c09d91e add logic flaw gate in pic_type_repr 2014-01-19 00:55:19 -08:00
Yuichi Nishiwaki ce90e4a2a6 compare int and size_t warning when DEBUG is on 2014-01-19 00:54:56 -08:00
Yuichi Nishiwaki 69c1c8a916 add -D_GNU_SOURCE for main makeline 2014-01-19 00:33:45 -08:00
Yuichi Nishiwaki ec00ec0257 add pic_test macro 2014-01-19 00:33:33 -08:00
Yuichi Nishiwaki ab411cc298 gcc complains that he can't assure if switch-enum is complete 2014-01-19 00:32:43 -08:00
Yuichi Nishiwaki 7bfe165a73 [bugfix] compiler complains fileno is not declared but used in lex.yy.c. 2014-01-19 00:31:03 -08:00
Yuichi Nishiwaki 9b31e5bd2f refactor list_by_array 2014-02-02 21:16:45 +09:00
Yuichi Nishiwaki b66021c042 print bytecode index in hex 2014-02-02 21:16:23 +09:00
Yuichi Nishiwaki 4a01b8296f emit OP_NOT 2014-02-02 14:55:46 +09:00
Yuichi Nishiwaki 0fec56362d add OP_NOT instruction 2014-02-02 14:54:47 +09:00