[前][次][番号順一覧][スレッド一覧]

ruby-changes:26106

From: ko1 <ko1@a...>
Date: Mon, 3 Dec 2012 20:33:20 +0900 (JST)
Subject: [ruby-changes:26106] ko1:r38163 (trunk): * compile.c (iseq_specialized_instruction):

ko1	2012-12-03 20:33:09 +0900 (Mon, 03 Dec 2012)

  New Revision: 38163

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38163

  Log:
    * compile.c (iseq_specialized_instruction):
      change condition of using `opt_send_simple'.
      More method invocations can be simple.

  Modified files:
    trunk/ChangeLog
    trunk/compile.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 38162)
+++ ChangeLog	(revision 38163)
@@ -1,3 +1,9 @@
+Mon Dec  3 20:28:02 2012  Koichi Sasada  <ko1@a...>
+
+	* compile.c (iseq_specialized_instruction):
+	  change condition of using `opt_send_simple'.
+	  More method invocations can be simple.
+
 Mon Dec  3 20:03:38 2012  Koichi Sasada  <ko1@a...>
 
 	* test/ruby/test_objectspace.rb: skip RuntimeError
Index: compile.c
===================================================================
--- compile.c	(revision 38162)
+++ compile.c	(revision 38163)
@@ -1940,6 +1940,8 @@
 		}
 		break;
 	    }
+	}
+	if (ci->flag & VM_CALL_ARGS_SKIP_SETUP) {
 	    iobj->insn_id = BIN(opt_send_simple);
 	}
     }

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]