1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

vm.inc.tmpl + instruction.rb: typo fixes

* template/vm.inc.tmpl: "insns.c" => "insns.def"
* tool/instruction.rb: typo fix

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
normal 2014-09-14 07:58:25 +00:00
parent ee04ba6025
commit 7b09deef51
3 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Sun Sep 14 16:57:27 2014 Eric Wong <e@80x24.org>
* template/vm.inc.tmpl: "insns.c" => "insns.def"
* tool/instruction.rb: typo fix
Sun Sep 14 12:29:52 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com> Sun Sep 14 12:29:52 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* test/test_tracer.rb: fixed testcase for rubygems update. * test/test_tracer.rb: fixed testcase for rubygems update.

View file

@ -8,7 +8,7 @@
This file is auto generated by insns2vm.rb This file is auto generated by insns2vm.rb
DO NOT TOUCH! DO NOT TOUCH!
If you want to fix something, you must edit 'insns.c' If you want to fix something, you must edit 'insns.def'
*/ */
<%= <%=

View file

@ -309,7 +309,7 @@ class RubyVM
opes = insn.opes opes = insn.opes
if opes.size != opts.size if opes.size != opts.size
raise "operand size mismatcvh for #{insn.name} (opes: #{opes.size}, opts: #{opts.size})" raise "operand size mismatch for #{insn.name} (opes: #{opes.size}, opts: #{opts.size})"
end end
ninsn = insn.name + '_OP_' + opts.map{|e| label_escape(e)}.join('_') ninsn = insn.name + '_OP_' + opts.map{|e| label_escape(e)}.join('_')