[prev in list] [next in list] [prev in thread] [next in thread]
List: ruby-cvs
Subject: [ruby-cvs:44211] ko1:r37036 (trunk): * insns.def: add new instruction `opt_empty_p' for optimize `em
From: ko1 () ruby-lang ! org
Date: 2012-09-26 9:34:48
Message-ID: 20120926093448.A8FC53EE40 () fluorine ! ruby-lang ! org
[Download RAW message or body]
ko1 2012-09-26 18:34:46 +0900 (Wed, 26 Sep 2012)
New Revision: 37036
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=37036
Log:
* insns.def: add new instruction `opt_empty_p' for optimize `empty?'
method. Apply a patch proposed at [ruby-dev:46120]
[ruby-trunk - Feature #6972] by Glass_saga (Masaki Matsushita).
* compile.c (iseq_specialized_instruction), vm.c, vm_insnhelper.h:
ditto.
* id.c, template/id.h.tmpl: ditto.
* test/ruby/test_optimization.rb: test for this changes.
Modified files:
trunk/ChangeLog
trunk/compile.c
trunk/id.c
trunk/insns.def
trunk/template/id.h.tmpl
trunk/test/ruby/test_optimization.rb
trunk/vm.c
trunk/vm_insnhelper.h
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic