aboutsummaryrefslogtreecommitdiffstats
path: root/yarvcore.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-26 06:14:44 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-26 06:14:44 +0000
commit931574010102b4bd9db6cfb17b840e28b26030e6 (patch)
tree39b4acd08cfce1f46c50c6d8409c0b22a248f7c0 /yarvcore.c
parent8bfcdf323f1843237140e9f119496b93557eaefd (diff)
downloadruby-931574010102b4bd9db6cfb17b840e28b26030e6.tar.gz
* cont.c (rb_fiber_s_new): revert initializing VM stack.
* yarvcore.c (th_init2): ditto. * vm.c, vm.h: fix to stop using Qundef on VM stack. According to this change, VM stack should not include Qundef value. * insns.def (putundef): removed. * compile.c (iseq_compile_each): ditto. * eval.c (eval): fix spacing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'yarvcore.c')
-rw-r--r--yarvcore.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/yarvcore.c b/yarvcore.c
index f5b3225a2f..2273ef81cb 100644
--- a/yarvcore.c
+++ b/yarvcore.c
@@ -329,7 +329,6 @@ th_init2(rb_thread_t *th)
/* allocate thread stack */
th->stack_size = RUBY_VM_THREAD_STACK_SIZE;
th->stack = ALLOC_N(VALUE, th->stack_size);
- MEMZERO(th->stack, VALUE, th->stack_size);
th->cfp = (void *)(th->stack + th->stack_size);
th->cfp--;