diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-04 19:15:38 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-04 19:15:38 +0000 |
commit | 71364da03fcae2e0fb7b2641b6ac1e507ee03da6 (patch) | |
tree | 3dcb808d424ce0b547e894e51b30c82fcddf61a1 /compile.c | |
parent | cbee6e017de269d902e870d5f52d15df1a4dac2e (diff) | |
download | ruby-71364da03fcae2e0fb7b2641b6ac1e507ee03da6.tar.gz |
* insns.def (setclassvariable): remove unnecessary operand.
* compile.c (iseq_compile_each): ditto.
* common.mk (insns_info.inc): add dependency for insns_info.inc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -3351,9 +3351,8 @@ iseq_compile_each(yarv_iseq_t *iseq, LINK_ANCHOR *ret, NODE * node, int poped) if (!poped) { ADD_INSN(ret, nd_line(node), dup); } - ADD_INSN2(ret, nd_line(node), setclassvariable, - ID2SYM(node->nd_vid), - Qfalse); + ADD_INSN1(ret, nd_line(node), setclassvariable, + ID2SYM(node->nd_vid)); break; } case NODE_OP_ASGN1:{ |