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

ruby-changes:57808

From: Takashi <ko1@a...>
Date: Thu, 19 Sep 2019 17:21:54 +0900 (JST)
Subject: [ruby-changes:57808] 7202bf9ed8 (master): Drop PREFETCH macro unused since 6b534134a7

https://git.ruby-lang.org/ruby.git/commit/?id=7202bf9ed8

From 7202bf9ed899677f43a01ecf9f671082268d2d88 Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Thu, 19 Sep 2019 17:19:21 +0900
Subject: Drop PREFETCH macro unused since 6b534134a7


diff --git a/vm_exec.h b/vm_exec.h
index c0ce84e..577c5ea 100644
--- a/vm_exec.h
+++ b/vm_exec.h
@@ -17,13 +17,6 @@ typedef unsigned long lindex_t; https://github.com/ruby/ruby/blob/trunk/vm_exec.h#L17
 typedef VALUE GENTRY;
 typedef rb_iseq_t *ISEQ;
 
-#ifdef __GNUC__
-/* TODO: machine dependent prefetch instruction */
-#define PREFETCH(pc)
-#else
-#define PREFETCH(pc)
-#endif
-
 #if VMDEBUG > 0
 #define debugs printf
 #define DEBUG_ENTER_INSN(insn) \
-- 
cgit v0.10.2


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

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