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

* tool/instruction.rb (RubyVM::InstructionsLoader#make_stackcaching_insns):

simplified.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-09-01 22:48:51 +00:00
parent d17fe8a467
commit 61d983df58
2 changed files with 8 additions and 8 deletions

View file

@ -1,3 +1,8 @@
Wed Sep 2 07:42:15 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* tool/instruction.rb (RubyVM::InstructionsLoader#make_stackcaching_insns):
simplified.
Wed Sep 2 02:32:46 2009 NARUSE, Yui <naruse@ruby-lang.org>
* ext/json/lib/json/common.rb (NaN): Change definition

View file

@ -1,4 +1,4 @@
#
#!./miniruby
#
#
@ -505,14 +505,9 @@ class RubyVM
orets = insn.rets
oopes = insn.opes
ocomm = insn.comm
oname = insn.name
after = nil
SPECIAL_INSN_FOR_SC_AFTER.any?{|k, v|
if k =~ insn.name
after = v
break
end
}
after = SPECIAL_INSN_FOR_SC_AFTER.find {|k, v| k =~ oname}
insns = []
FROM_SC.each{|from|