summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-04 19:15:38 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-04 19:15:38 +0000
commit71364da03fcae2e0fb7b2641b6ac1e507ee03da6 (patch)
tree3dcb808d424ce0b547e894e51b30c82fcddf61a1 /compile.c
parentcbee6e017de269d902e870d5f52d15df1a4dac2e (diff)
* 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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/compile.c b/compile.c
index 41c69efd20..5455bd7034 100644
--- a/compile.c
+++ b/compile.c
@@ -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:{