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

ruby-changes:27135

From: kosaki <ko1@a...>
Date: Sun, 10 Feb 2013 14:41:23 +0900 (JST)
Subject: [ruby-changes:27135] kosaki:r39187 (trunk): * vm_exec.h (DISPATCH_ARCH_DEPEND_WAY): use __asm__ __vilatile__

kosaki	2013-02-10 14:41:12 +0900 (Sun, 10 Feb 2013)

  New Revision: 39187

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

  Log:
    * vm_exec.h (DISPATCH_ARCH_DEPEND_WAY): use __asm__ __vilatile__
      instead of asm volatile.

  Modified files:
    trunk/ChangeLog
    trunk/vm_exec.h

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 39186)
+++ ChangeLog	(revision 39187)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Feb  7 23:13:42 2013  KOSAKI Motohiro  <kosaki.motohiro@g...>
+
+	* vm_exec.h (DISPATCH_ARCH_DEPEND_WAY): use __asm__ __vilatile__
+	  instead of asm volatile.
+
 Thu Feb  7 23:12:31 2013  KOSAKI Motohiro  <kosaki.motohiro@g...>
 
 	* gc.h (SET_MACHINE_STACK_END): use __volatile__ instead of volatile.
Index: vm_exec.h
===================================================================
--- vm_exec.h	(revision 39186)
+++ vm_exec.h	(revision 39187)
@@ -86,7 +86,7 @@ error ! https://github.com/ruby/ruby/blob/trunk/vm_exec.h#L86
 /* dispather */
 #if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) && __GNUC__ == 3
 #define DISPATCH_ARCH_DEPEND_WAY(addr) \
-  asm volatile("jmp *%0;\t# -- inseted by vm.h\t[length = 2]" : : "r" (addr))
+  __asm__ __volatile__("jmp *%0;\t# -- inseted by vm.h\t[length = 2]" : : "r" (addr))
 
 #else
 #define DISPATCH_ARCH_DEPEND_WAY(addr) \

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

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