summaryrefslogtreecommitdiff
path: root/yarvcore.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-05-03 13:19:11 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-05-03 13:19:11 +0000
commit1a89cc308d823033715131c2709a009ee971eb28 (patch)
tree1b7449c06b8a8ca3a73d629083810fb85857673d /yarvcore.c
parent5bfe949dd543199a1776f1f816d47217837b896d (diff)
* configure.in, defines.h, eval_load.c (rb_feature_p, rb_provided,
search_required, rb_require_safe), ext/extmk.rb: Fix a bug where a statically linked extension cannot be autoloaded. [ruby-dev:30023] / [ruby-dev:30239] * thread.c: added an internal class, Barrier. * yarvcore.h (struct rb_vm_struct): moved loading_table from global. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'yarvcore.c')
-rw-r--r--yarvcore.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/yarvcore.c b/yarvcore.c
index 47d1a41330..cb66e67892 100644
--- a/yarvcore.c
+++ b/yarvcore.c
@@ -190,6 +190,7 @@ vm_mark(void *ptr)
MARK_UNLESS_NULL(vm->mark_object_ary);
MARK_UNLESS_NULL(vm->last_status);
MARK_UNLESS_NULL(vm->loaded_features);
+ if (vm->loading_table) rb_mark_tbl(vm->loading_table);
mark_event_hooks(vm->event_hooks);
}