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
af6a53a5b4
remove page->index
2016-06-20 00:42:43 +09:00
Yuichi Nishiwaki
026150a712
header->s.size should include the header itself
2016-06-19 23:44:18 +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
93c5d8782c
remove page->endp field
2016-06-19 21:16:22 +09:00
Yuichi Nishiwaki
563e1ee95a
s/HEADER_SIZE/PAGE_UNITS/g
2016-06-19 21:16:11 +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
Yuichi Nishiwaki
9e0dd2cff9
enable bitmap gc only if available
2016-06-19 18:37:47 +09:00
Yuichi Nishiwaki
c124a17a15
refine comments
2016-06-19 18:27:24 +09:00
Yuichi Nishiwaki
831057d881
s/read_safe/read_value/g
2016-06-19 18:20:40 +09:00
Yuichi Nishiwaki
d49a0cdd16
Merge pull request #342 from picrin-scheme/faster-bitmap-marking
...
Faster bitmap marking
2016-06-19 18:12:42 +09:00
Sunrin SHIMURA (keen)
f3845b7a0c
remove unused variable
2016-06-19 10:44:12 +09:00
Sunrin SHIMURA (keen)
4d31df6f14
remove needless INLINE
2016-06-19 10:43:36 +09:00
Sunrin SHIMURA (keen)
7fad8a3db1
tiny style fix
2016-06-19 10:41:24 +09:00
Sunrin SHIMURA (keen)
f9a7abdd9c
treat cases where size > UNIT_SIZE in is_`marked_at`, `mark_at`
2016-06-19 10:39:58 +09:00
Sunrin SHIMURA (keen)
0cf5f83a57
fix assertion expression
2016-06-19 09:37:55 +09:00
Sunrin SHIMURA (keen)
009bf9e010
cleaner config and silent warnings
2016-06-19 09:20:36 +09:00
Sunrin SHIMURA (keen)
4d6667b0e0
run finalizers
2016-06-19 02:25:19 +09:00
Sunrin SHIMURA (keen)
9da556e9a8
faster allocation/sweep
2016-06-19 01:20:08 +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
Masanori Ogino
993d1813a1
Restrict char in the range of ASCII.
...
picrin accepts the code `(char->integer (integer->char 128))` but the
result is machine-dependent, since the C `char` type can be either
signed or unsigned as permitted by the spec. Unfortunately, the result
of signed one is incompatible with Unicode-aware implementations. For
interoperability, we should deny the range beyond ASCII for now.
Ref: #211
Signed-off-by: Masanori Ogino <masanori.ogino@gmail.com>
2016-03-28 17:37:26 +09:00
Yuichi Nishiwaki
917704e9a4
add normalizer
2016-03-14 12:03:59 +09:00
Yuichi Nishiwaki
5af735d796
don't chain ireps whose npool is zero
2016-03-14 10:48:18 +09:00
Yuichi Nishiwaki
a0edca8d8d
keep continuation object from being optimized out
2016-03-04 00:32:01 +09:00
Yuichi Nishiwaki
86c68b1769
prohibit overriding vm procs
2016-03-03 21:41:29 +09:00
Yuichi Nishiwaki
e4bf1a14ab
optimize vm procs
2016-03-03 21:38:50 +09:00
Yuichi Nishiwaki
6244c9c550
check if library name is legal
2016-03-03 21:21:49 +09:00
Yuichi Nishiwaki
69c13fdcce
fix buffer overrun
2016-03-03 19:55:27 +09:00
Yuichi Nishiwaki
5ce271e9fe
simplify number reader
2016-03-03 19:42:18 +09:00
Yuichi Nishiwaki
85b58bd43e
add pic_boot function
2016-03-03 18:59:07 +09:00
Yuichi Nishiwaki
c27ce690a6
remove declare_vm_procedure macro
2016-03-03 18:43:57 +09:00
Yuichi Nishiwaki
ce6dd55ea5
segv if an error is raised when no exception handler is registered
2016-03-02 04:34:43 +09:00
Yuichi Nishiwaki
3feee82d8b
default library is picrin.user
2016-03-02 04:34:33 +09:00
Yuichi Nishiwaki
ca4fb058d1
remove pic->iseq
2016-03-01 03:14:18 +09:00
Yuichi Nishiwaki
ae88bed481
remove struct chunk
2016-02-29 16:48:38 +09:00
Yuichi Nishiwaki
d2167a87f9
optimize rope
2016-02-27 02:44:02 +09:00
Yuichi Nishiwaki
8810d94259
decrease sizeof struct rope
2016-02-27 01:38:07 +09:00
Yuichi Nishiwaki
a14d3a62c4
don't use size_t for index
2016-02-27 00:45:02 +09:00
Yuichi Nishiwaki
22d339c2f7
fix build errors
2016-02-25 21:17:44 +09:00
Yuichi Nishiwaki
8a9a1200d8
pic_catch binds current error object to a variable
2016-02-25 20:52:38 +09:00
Yuichi Nishiwaki
73e38657ff
remove pic->native_stack_start
2016-02-24 16:32:24 +09:00
Yuichi Nishiwaki
29d7a7fc48
pic->lib is now of string type
2016-02-24 03:59:51 +09:00
Yuichi Nishiwaki
17d75f915f
s/PIC_OBJECT_HEADER/OBJECT_HEADER/g
2016-02-24 02:36:09 +09:00
Yuichi Nishiwaki
17ccaea236
remove pic->ccnt
2016-02-23 23:28:28 +09:00
Yuichi Nishiwaki
eea41c53d7
cleanup
2016-02-23 22:55:15 +09:00
Yuichi Nishiwaki
54d9d4865c
pic_assert_type -> TYPE_CHECK
2016-02-23 22:53:20 +09:00