summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-24 15:19:00 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-24 15:19:00 +0000
commitb285d26a16c90f8e2d491592e793c3b40545aaf1 (patch)
tree6f9d8371fe88457957cf5ed3cf25b8e3b2da2a1b /compile.c
parent901343a761e7868839e00c69ac142353db734d0e (diff)
* compile.c (compile_massign_opt): fix to skip massign optimization
with global variables. * bootstraptest/test_massign.rb: add some tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/compile.c b/compile.c
index 2e0473a7d1..f50228d447 100644
--- a/compile.c
+++ b/compile.c
@@ -2032,9 +2032,6 @@ compile_massign_opt(rb_iseq_t *iseq, LINK_ANCHOR *ret,
case NODE_CVASGN:
MEMORY(ln->nd_vid);
break;
- case NODE_GASGN:
- MEMORY((VALUE)ln->nd_entry);
- break;
default:
return 0;
}