* vm_exec.h (DISPATCH_ARCH_DEPEND_WAY): use __asm__ __vilatile__

instead of asm volatile.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kosaki 2013-02-10 05:41:12 +00:00
parent 08c11c23cb
commit 0531a07660
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Thu Feb 7 23:13:42 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* 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@gmail.com>
* gc.h (SET_MACHINE_STACK_END): use __volatile__ instead of volatile.

View File

@ -86,7 +86,7 @@ error !
/* 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) \