summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-14 17:20:42 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-14 17:20:42 +0000
commitca968ee45eabd35e21c1f3f602ae33816ae64d23 (patch)
tree11316563b94b96adf031a8c654fd5eadee2d36f9
parentc84bd9d7b89eca3bb563e83e864db5604626d4cd (diff)
remove garbage line
* compile.c (new_insn_send): remove garbage line. * tool/instruction.rb (sp_increase_c_expr): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--compile.c1
-rwxr-xr-xtool/instruction.rb1
2 files changed, 0 insertions, 2 deletions
diff --git a/compile.c b/compile.c
index f878eda..ab586dc 100644
--- a/compile.c
+++ b/compile.c
@@ -961,7 +961,6 @@ new_callinfo(rb_iseq_t *iseq, ID mid, int argc, VALUE block, unsigned long flag)
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);
diff --git a/tool/instruction.rb b/tool/instruction.rb
index c6e0c40..fb07d77 100755
--- a/tool/instruction.rb
+++ b/tool/instruction.rb
@@ -72,7 +72,6 @@ class RubyVM
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|