Commit Graph

1842 Commits

Author SHA1 Message Date
Carson McDonald 5bd60f4662 End loop if nextc is -1 2013-08-02 17:08:55 -04:00
Yukihiro "Matz" Matsumoto a32fdf3e5d Merge pull request #1426 from Fleurer/clear-all-old
add comments for clear_all_old()
2013-08-01 07:01:26 -07:00
fleuria 107906e3cb revise the comment in mrb_full_gc()
the old comment "clean all the black object as old" looks confusing,
it looks like "transform black object to old object", but indeed black
is old,
2013-08-01 17:50:13 +08:00
fleuria c1469a57a2 add comment for clear_all_old() 2013-08-01 17:30:57 +08:00
Yukihiro "Matz" Matsumoto 429e69243c remove unused inspect_range 2013-08-01 18:29:55 +09:00
Yukihiro "Matz" Matsumoto 7f282429b0 ci->target_class should be updated as well; #1418 2013-08-01 11:56:20 +09:00
Yukihiro "Matz" Matsumoto c550a0f834 move mrb_gc_arena_restore() after cipop(); a bug found by Kilo Kawai 2013-07-31 22:24:10 +09:00
Yukihiro "Matz" Matsumoto 029613bc55 stop storing target_class info for C defined methods 2013-07-31 00:31:37 +09:00
Yukihiro "Matz" Matsumoto 326396a6e3 remove unused mrb_proc_new_with_target() 2013-07-31 00:16:55 +09:00
Yukihiro "Matz" Matsumoto 294ed98011 Merge branch 'master' of github.com:mruby/mruby 2013-07-30 01:33:14 +09:00
Yukihiro "Matz" Matsumoto dbd36128ad forget to re-initialize target_class for top-level eval; close #1418 2013-07-30 01:33:02 +09:00
Yukihiro "Matz" Matsumoto 4229b41c68 Merge pull request #1421 from carsonmcdonald/fixfor1419
Remove pop that was done when not a return val
2013-07-29 09:16:29 -07:00
Carson McDonald ff40793fc7 Remove pop that was done when not a return val 2013-07-28 13:15:22 -04:00
Yukihiro "Matz" Matsumoto e488393cbb Merge branch 'master' of github.com:mruby/mruby 2013-07-27 02:53:02 +09:00
Yukihiro "Matz" Matsumoto 63e5a3cfb1 refactor out longjmp() to a function 2013-07-25 14:54:17 +09:00
fleuria 620e323d15 replace assert with mrb_assert 2013-07-25 03:00:03 +08:00
fleuria bbbe996e0d replace gc_assert with mrb_assert 2013-07-25 02:55:51 +08:00
Yukihiro "Matz" Matsumoto 8a298605e6 remove an unused local variable 2013-07-24 23:58:10 +09:00
Yukihiro "Matz" Matsumoto 5146219cbd revise gc_mark_gray_list() not to cause SEGV on Ubuntu 32bit 2013-07-24 23:47:52 +09:00
Yukihiro "Matz" Matsumoto 4ad4ce6caf restore once removed mrb_garbage_collect() 2013-07-24 23:31:46 +09:00
Yukihiro "Matz" Matsumoto 00ef7531b0 Merge pull request #1409 from suzukaze/fix-typos-in-variable.c
I fix typos in variable.c.
2013-07-24 07:29:38 -07:00
Yukihiro "Matz" Matsumoto 68249d8cff Merge pull request #1408 from Fleurer/fix-warning-get-valid-iv-sym
suppress the warnings from get_valid_iv_sym()
2013-07-24 07:29:05 -07:00
Yukihiro "Matz" Matsumoto e1706e65f9 Merge pull request #1407 from Fleurer/gc-introduce-incremental-gc-step
separate out `incremental_gc_step()` from `mrb_incremental_gc()`, and misc minor rename
2013-07-24 07:18:50 -07:00
Jun Hiroe a202446c79 I fix typos in variable.c. 2013-07-24 22:22:54 +09:00
fleuria 4a8e89db2b suppress the warnings from get_valid_iv_sym()
The parameter iv_name SHOULD be string or symbol, but there is no
garantee on it.
2013-07-24 19:13:43 +08:00
fleuria 7bfdcace52 fix warning 2013-07-24 18:27:23 +08:00
fleuria 2591922ec2 rename variable_gray_list to atomic_gray_list 2013-07-24 18:22:53 +08:00
fleuria 88eb0f54e9 introduce gc_mark_gray_list(), and cleanup redaunt code with it 2013-07-24 18:22:53 +08:00
fleuria 0c0efc16b0 gc: replace comment "a round of GC" to "a GC cycle" 2013-07-24 16:22:38 +08:00
fleuria c852626ea7 rename mrb_garbage_collect() to mrb_full_gc() 2013-07-24 16:17:53 +08:00
fleuria 9cc43a970c introduce incremental_gc_step() 2013-07-24 16:17:53 +08:00
Yukihiro "Matz" Matsumoto be419485ba Merge pull request #1403 from Fleurer/comments-generational-gc
add comments for Generational Mode in gc.c
2013-07-23 05:46:17 -07:00
Yukihiro "Matz" Matsumoto 1516822b05 Merge branch 'master' of github.com:mruby/mruby 2013-07-23 21:34:06 +09:00
Yukihiro "Matz" Matsumoto 8d7e716158 String =~ and match to work with pluggable Regexp; close #1398 2013-07-23 20:22:15 +09:00
fleuria 9bce2eb8b3 gc: add comments for Generational Mode 2013-07-23 17:04:54 +08:00
fleuria 6a1cb4465b revise the Two White Parts comments in gc.c 2013-07-22 16:26:59 +08:00
Yukihiro "Matz" Matsumoto 84991d6388 Merge pull request #1392 from Fleurer/gc-rename-advance-phase
rename advance_phace() to incremental_gc_until(), and cleanup some redundant codes with it.
2013-07-21 17:58:57 -07:00
Yukihiro "Matz" Matsumoto 2daf39ddc8 change else formatting 2013-07-22 09:52:06 +09:00
Ryan Scott fd9cc9938c Merge branch 'master' into attr-perf-fix 2013-07-21 18:18:35 +10:00
Ryan Scott 3ebd8167e1 Slight cleanup of code 2013-07-21 18:05:45 +10:00
fleuria c49e2d766e cleanup redundant codes with incremental_gc_until() 2013-07-19 12:16:27 +08:00
fleuria d4f375b48b rename advance_phase to incremental_gc_until
in fact advance_phace() is not really a "phase", but can be used
as an utility function.
2013-07-19 12:01:34 +08:00
Carson McDonald b9a32e434a Changed use of MRB_INT_MAX to MRB_INT_MAX-1 2013-07-18 09:47:48 -04:00
Ryan Scott 75f8aab247 First round of trying to improve the performance of attr_reader and attr_writer. From ~24sec to ~15sec 2013-07-18 07:54:16 +10:00
Jun Hiroe 8e42868600 Repalace int with mrb_bool because a return value is boolean. 2013-07-15 23:17:12 +09:00
Yukihiro "Matz" Matsumoto 18c167b8b5 Merge pull request #1380 from suzukaze/refactor-pool.c
Replace 0 with NULL because struct pointer is set NULL in.
2013-07-14 18:41:12 -07:00
Jun Hiroe efac8db674 Replace int with mrb_bool because a return value is boolean. 2013-07-14 23:51:44 +09:00
Jun Hiroe 65736fa36c Replace 0 with NULL because struct pointer is set NULL in. 2013-07-14 23:42:31 +09:00
Yukihiro "Matz" Matsumoto 56a3952b66 Merge pull request #1379 from suzukaze/refactor-gc.c
Replace 0 with NULL because set NULL in sturct pointer.
2013-07-14 06:00:27 -07:00
Yukihiro "Matz" Matsumoto 8e6ca38416 Merge pull request #1378 from suzukaze/refactor2-vm.c
Replace 0 with FALSE and replace 1 with TRUE.
2013-07-14 06:00:06 -07:00