* 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

@ -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) \