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:
parent
ee04ba6025
commit
7b09deef51
3 changed files with 7 additions and 2 deletions
|
@ -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.
|
||||||
|
|
|
@ -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'
|
||||||
*/
|
*/
|
||||||
|
|
||||||
<%=
|
<%=
|
||||||
|
|
|
@ -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('_')
|
||||||
|
|
Loading…
Reference in a new issue