git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
tmm1 2013-04-22 19:40:10 +00:00
Родитель 4f683e1678
Коммит 5d85df5d76
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -83,7 +83,7 @@ error !
LABEL(insn): \ LABEL(insn): \
INSN_ENTRY_SIG(insn); \ INSN_ENTRY_SIG(insn); \
/* dispather */ /* dispatcher */
#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) && __GNUC__ == 3 #if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) && __GNUC__ == 3
#define DISPATCH_ARCH_DEPEND_WAY(addr) \ #define DISPATCH_ARCH_DEPEND_WAY(addr) \
__asm__ __volatile__("jmp *%0;\t# -- inserted by vm.h\t[length = 2]" : : "r" (addr)) __asm__ __volatile__("jmp *%0;\t# -- inserted by vm.h\t[length = 2]" : : "r" (addr))
@ -105,7 +105,7 @@ error !
; ;
#else #else
/* token threade code */ /* token threaded code */
#define TC_DISPATCH(insn) \ #define TC_DISPATCH(insn) \
DISPATCH_ARCH_DEPEND_WAY(insns_address_table[GET_CURRENT_INSN()]); \ DISPATCH_ARCH_DEPEND_WAY(insns_address_table[GET_CURRENT_INSN()]); \

Просмотреть файл

@ -29,7 +29,7 @@
* You can't change these options at runtime. * You can't change these options at runtime.
*/ */
/* C compiler depend */ /* C compiler dependent */
#define OPT_DIRECT_THREADED_CODE 1 #define OPT_DIRECT_THREADED_CODE 1
#define OPT_TOKEN_THREADED_CODE 0 #define OPT_TOKEN_THREADED_CODE 0
#define OPT_CALL_THREADED_CODE 0 #define OPT_CALL_THREADED_CODE 0