Commit Graph

154 Commits

Author SHA1 Message Date
Yuichi Nishiwaki a1116d39eb s/PIC_USE_BITMAPGC/PIC_BITMAP_GC/g 2016-06-20 02:38:28 +09:00
Yuichi Nishiwaki cec69a96d8 unify gc files 2016-06-20 02:36:41 +09:00
Yuichi Nishiwaki 86daac482a align union headers in a page 2016-06-19 23:28:31 +09:00
Yuichi Nishiwaki c8893930ae remove more duplicate functions 2016-06-19 21:54:42 +09:00
Yuichi Nishiwaki 6345cf2b8b s/#ifdef/#if/g 2016-06-19 21:15:26 +09:00
Yuichi Nishiwaki 5d7138e7d3 remove duplicate definitions 2016-06-19 20:55:16 +09:00
Sunrin SHIMURA (keen) d4b9e38fd6 use aligned allocating so that finding objct's heap_page is O(1) 2016-06-18 19:25:07 +09:00
Sunrin SHIMURA (keen) 17c223a08c Merge branch 'master' into bitmap-marking 2016-06-18 17:51:29 +09:00
Yuichi Nishiwaki b3e9794385 remove pic->xp 2016-02-23 22:42:03 +09:00
Yuichi Nishiwaki 34331dad6f [bugfix] make-parameter is broken 2016-02-23 20:50:26 +09:00
Yuichi Nishiwaki 2ca7e630f0 write is now pluggable 2016-02-23 04:40:50 +09:00
Yuichi Nishiwaki 2a17a2a9c2 add PIC_TYPE_FUNC and PIC_TYPE_IREP 2016-02-21 20:42:41 +09:00
Yuichi Nishiwaki 608569e876 drop pic_ prefix of structs 2016-02-21 20:32:12 +09:00
Yuichi Nishiwaki bfe6cef4c8 pic_sym -> symbol, pic_id -> identifier 2016-02-21 20:21:02 +09:00
Yuichi Nishiwaki 684eb6502d pic_callinfo -> struct pic_callinfo, pic_code -> struct pic_code 2016-02-21 20:18:31 +09:00
Yuichi Nishiwaki 2a0a7be40d C++ mode of PIC_UNUSED 2016-02-21 19:19:35 +09:00
Yuichi Nishiwaki f8b05efa7f don't call pic_panic on internal logic flaw 2016-02-21 19:02:23 +09:00
Yuichi Nishiwaki f89a55c082 remove pre-interned symbols 2016-02-21 04:34:26 +09:00
Yuichi Nishiwaki 864a17d0be khiter_t -> int 2016-02-21 01:52:34 +09:00
Yuichi Nishiwaki 8dd423cdbc add include/picrin/private dir 2016-02-21 01:37:40 +09:00
Yuichi Nishiwaki 317369a914 don't include picrin/state.h by default 2016-02-21 00:30:40 +09:00
Yuichi Nishiwaki 4751131b4f rename PIC_GC_MARK and PIC_GC_UNMARK 2016-02-20 23:02:49 +09:00
Yuichi Nishiwaki f4efaf5dc0 pic_sym * -> pic_value 2016-02-20 15:31:14 +09:00
Yuichi Nishiwaki 1a316a7a69 change irep of symbol and identifier 2016-02-20 05:18:13 +09:00
Yuichi Nishiwaki ef26a75d45 struct pic_weak * -> pic_value 2016-02-20 04:35:15 +09:00
Yuichi Nishiwaki 0d8a45191a struct pic_data * -> pic_value 2016-02-19 23:30:47 +09:00
Yuichi Nishiwaki 3e4a4755dc struct pic_dict * -> pic_value 2016-02-19 19:08:45 +09:00
Yuichi Nishiwaki 4d38e08c98 pic_gc_arena_preserve -> pic_enter 2016-02-19 16:17:13 +09:00
Yuichi Nishiwaki 387ba469c8 add pic_dict_next 2016-02-19 00:39:13 +09:00
Yuichi Nishiwaki 3dd8290dd3 add picrin/object.h 2016-02-19 00:03:54 +09:00
Yuichi Nishiwaki ada84f48d6 add some object constructors/destructors 2016-02-18 23:49:16 +09:00
Yuichi Nishiwaki 08652df612 don't include type.h at the beginning of picrin.h 2016-02-18 23:35:55 +09:00
Yuichi Nishiwaki 615bdff61a add pic_state parameter (to be used by copy gc) 2016-02-18 20:15:42 +09:00
Yuichi Nishiwaki 561c350a12 library is now a non-first-class object 2016-02-18 17:39:32 +09:00
Yuichi Nishiwaki 294477ff13 kh_s_t -> kh_oblist_t 2016-02-15 13:00:57 +09:00
Yuichi Nishiwaki f70dd4d376 add pic_closure_ref, pic_closure_set, and pic_lambda 2016-02-14 22:23:14 +09:00
Yuichi Nishiwaki 549d939ce6 add pic_alloca 2016-02-14 13:19:54 +09:00
Yuichi Nishiwaki 5946c3ab39 pic_gc_run -> pic_gc 2016-02-14 13:17:12 +09:00
Yuichi Nishiwaki b577b2d453 reg -> weak 2016-02-10 21:50:39 +09:00
Yuichi Nishiwaki 7b86c6d34e intern table seems conventionally called 'oblist' 2016-02-10 21:31:22 +09:00
Yuichi Nishiwaki fd248d31bd optimize symbol->string 2016-02-08 03:36:20 +09:00
Yuichi Nishiwaki f263e9432e remove gref slot 2016-02-07 22:17:56 +09:00
Yuichi Nishiwaki cc75877a76 simplify struct pic_record 2016-02-07 02:58:18 +09:00
Yuichi Nishiwaki e51d3db812 symbol is an identifier 2016-02-06 23:15:53 +09:00
Yuichi Nishiwaki 497595a0f7 pool now only contains heap objects 2016-02-06 21:11:22 +09:00
Yuichi Nishiwaki 5af1b44456 wrap irep fields with unions 2016-02-06 18:37:40 +09:00
Yuichi Nishiwaki 0fd529c968 change mangling rule for global variables 2016-02-06 04:07:37 +09:00
Yuichi Nishiwaki 64788af4b9 manage ireps using reference count 2016-02-05 00:31:57 +09:00
Yuichi Nishiwaki 337ba027f2 attribute as a macro 2016-02-03 21:49:55 +09:00
Doug Currie 6881ac6d4d Reduce size of data object by removing unused dict field 2016-01-15 23:44:07 -05:00