use DIRECT_THREADED only on GCC

This commit is contained in:
Yukihiro Matsumoto
2012-05-09 10:58:32 +09:00
parent f4cf8ea423
commit 164c0463b2
+3
View File
@@ -326,7 +326,10 @@ argnum_error(mrb_state *mrb, int num)
(r).value.p = (void*)(v);\
}
#ifdef __GNUC__
#define DIRECT_THREADED
#endif
#ifndef DIRECT_THREADED
#define INIT_DISPACTH for (;;) { i = *pc; switch (GET_OPCODE(i)) {