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

ruby-changes:39659

From: ko1 <ko1@a...>
Date: Wed, 2 Sep 2015 18:05:29 +0900 (JST)
Subject: [ruby-changes:39659] ko1:r51740 (trunk): * vm_insnhelper.h (GET_PC_COUNT): remove unused macro.

ko1	2015-09-02 18:05:16 +0900 (Wed, 02 Sep 2015)

  New Revision: 51740

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

  Log:
    * vm_insnhelper.h (GET_PC_COUNT): remove unused macro.

  Modified files:
    trunk/ChangeLog
    trunk/vm_insnhelper.h
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 51739)
+++ ChangeLog	(revision 51740)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Sep  2 18:04:13 2015  Koichi Sasada  <ko1@a...>
+
+	* vm_insnhelper.h (GET_PC_COUNT): remove unused macro.
+
 Wed Sep  2 17:18:37 2015  Chris Schneider  <chris@c...>
 
 	* process.c (proc_detach): [DOC] fix typo "intent" as "intend" in
Index: vm_insnhelper.h
===================================================================
--- vm_insnhelper.h	(revision 51739)
+++ vm_insnhelper.h	(revision 51740)
@@ -101,8 +101,6 @@ enum vm_regan_acttype { https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.h#L101
 #define GET_CURRENT_INSN() (*GET_PC())
 #define GET_OPERAND(n)     (GET_PC()[(n)])
 #define ADD_PC(n)          (SET_PC(REG_PC + (n)))
-
-#define GET_PC_COUNT()     (REG_PC - GET_ISEQ()->iseq_encoded)
 #define JUMP(dst)          (REG_PC += (dst))
 
 /* frame pointer, environment pointer */

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

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