From 931574010102b4bd9db6cfb17b840e28b26030e6 Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 26 Jun 2007 06:14:44 +0000 Subject: * 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 --- cont.c | 1 - 1 file changed, 1 deletion(-) (limited to 'cont.c') diff --git a/cont.c b/cont.c index f75ddf1602..e06708f9c3 100644 --- a/cont.c +++ b/cont.c @@ -474,7 +474,6 @@ rb_fiber_s_new(VALUE self) th->stack = 0; th->stack_size = FIBER_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--; -- cgit v1.2.3