Commit 164c0463 authored by Yukihiro Matsumoto's avatar Yukihiro Matsumoto

use DIRECT_THREADED only on GCC

parent f4cf8ea4
...@@ -326,7 +326,10 @@ argnum_error(mrb_state *mrb, int num) ...@@ -326,7 +326,10 @@ argnum_error(mrb_state *mrb, int num)
(r).value.p = (void*)(v);\ (r).value.p = (void*)(v);\
} }
#ifdef __GNUC__
#define DIRECT_THREADED #define DIRECT_THREADED
#endif
#ifndef DIRECT_THREADED #ifndef DIRECT_THREADED
#define INIT_DISPACTH for (;;) { i = *pc; switch (GET_OPCODE(i)) { #define INIT_DISPACTH for (;;) { i = *pc; switch (GET_OPCODE(i)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment