summaryrefslogtreecommitdiffstats
path: root/compile.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
commit32fc6324d3ca642f4597aeecc544d08c2d28fd50 (patch)
tree39b4acd08cfce1f46c50c6d8409c0b22a248f7c0 /compile.c
parent62ec26e36fc1d5c729a41bd88a05dae32587e99d (diff)
downloadruby-32fc6324d3ca642f4597aeecc544d08c2d28fd50.tar.gz
ruby-32fc6324d3ca642f4597aeecc544d08c2d28fd50.tar.xz
ruby-32fc6324d3ca642f4597aeecc544d08c2d28fd50.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@12621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/compile.c b/compile.c
index a56962468..ab2bbab85 100644
--- a/compile.c
+++ b/compile.c
@@ -2787,7 +2787,8 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE * node, int poped)
ADD_LABEL(ret, end_label);
if (node->nd_state == Qundef) {
- ADD_INSN(ret, nd_line(node), putundef);
+ /* ADD_INSN(ret, nd_line(node), putundef); */
+ rb_bug("unsupported: putundef");
}
else {
ADD_INSN(ret, nd_line(node), putnil);