From 3a47cf3395dd4c4fe8bdd5df13aab698f2ca314b Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 15 May 2011 11:55:52 +0000 Subject: * remove trailing spaces. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/instruction.rb | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'tool/instruction.rb') diff --git a/tool/instruction.rb b/tool/instruction.rb index 4fd2127be2..9dc7604170 100755 --- a/tool/instruction.rb +++ b/tool/instruction.rb @@ -35,7 +35,7 @@ class RubyVM @sc << sci sci.set_sc end - + attr_reader :name, :opes, :pops, :rets attr_reader :body, :comm attr_reader :nextsc, :pushsc @@ -45,11 +45,11 @@ class RubyVM attr_reader :is_sc attr_reader :tvars attr_reader :sp_inc - + def set_sc @is_sc = true end - + def add_unif insns @unifs << insns end @@ -84,7 +84,7 @@ class RubyVM "return depth + #{rets.size - pops.size};" end end - + def inspect "#" end @@ -113,7 +113,7 @@ class RubyVM attr_reader :vpath attr_reader :destdir - + %w[use_const verbose].each do |attr| attr_reader attr alias_method "#{attr}?", attr @@ -455,7 +455,7 @@ class RubyVM rv = rpvars[1] "#define #{pv[1]} #{rv[1]}" }.join("\n") + - "\n" + + "\n" + redef_vars.map{|v, type| "#define #{v} #{v}_#{i}" }.join("\n") + "\n" + @@ -693,7 +693,7 @@ class RubyVM } } end - + def make_header_operands insn comment " /* declare and get from iseq */" @@ -718,7 +718,7 @@ class RubyVM # ops.join commit ops.reverse end - + def make_header_default_operands insn vars = insn.defopes @@ -907,7 +907,7 @@ class RubyVM commit " ELABEL_PTR(#{insn.name}),\n" } end - + ERB.new(vpath.read('template/vmtc.inc.tmpl')).result(binding) end end @@ -1156,7 +1156,7 @@ class RubyVM uni_insns.map{|e| "BIN(#{e.name})"}.join(", ") + "};\n" } else - + end if size > 0 unif_insns << "static const int *const UNIFIED_#{insn.name}[] = {(int *)#{size+1}, \n" -- cgit v1.2.3