diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-24 15:19:00 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-24 15:19:00 +0000 |
commit | b285d26a16c90f8e2d491592e793c3b40545aaf1 (patch) | |
tree | 6f9d8371fe88457957cf5ed3cf25b8e3b2da2a1b /compile.c | |
parent | 901343a761e7868839e00c69ac142353db734d0e (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.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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; } |