ruby-changes:25130
From: nobu <ko1@a...>
Date: Mon, 15 Oct 2012 02:20:53 +0900 (JST)
Subject: [ruby-changes:25130] nobu:r37182 (trunk): remove garbage line
nobu 2012-10-15 02:20:42 +0900 (Mon, 15 Oct 2012) New Revision: 37182 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=37182 Log: remove garbage line * compile.c (new_insn_send): remove garbage line. * tool/instruction.rb (sp_increase_c_expr): ditto. Modified files: trunk/compile.c trunk/tool/instruction.rb Index: compile.c =================================================================== --- compile.c (revision 37181) +++ compile.c (revision 37182) @@ -961,7 +961,6 @@ static INSN * new_insn_send(rb_iseq_t *iseq, int line_no, VALUE id, VALUE argc, VALUE block, VALUE flag) { - VALUE *operands = (VALUE *)compile_data_alloc(iseq, sizeof(VALUE) * 1); operands[0] = (VALUE)new_callinfo(iseq, SYM2ID(id), FIX2INT(argc), block, FIX2INT(flag)); return new_insn_core(iseq, line_no, BIN(send), 1, operands); Index: tool/instruction.rb =================================================================== --- tool/instruction.rb (revision 37181) +++ tool/instruction.rb (revision 37182) @@ -72,7 +72,6 @@ elsif (t == 'CALL_INFO' && ((re = /\b#{v}\b/n) =~ @sp_inc)) ret << " CALL_INFO #{v} = (CALL_INFO)(opes[#{i}]);\n" end - } @defopes.each_with_index{|((t, var), val), i| -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/