Remove obsoleted MJIT_HEADER macro

This commit is contained in:
Takashi Kokubun 2023-03-06 22:03:39 -08:00
parent 7fb36a0054
commit 290e26c729
Notes: git 2023-03-07 06:29:54 +00:00
11 changed files with 11 additions and 149 deletions

View file

@ -165,12 +165,6 @@ default: \
#define VM_SP_CNT(ec, sp) ((sp) - (ec)->vm_stack)
#ifdef MJIT_HEADER
#define THROW_EXCEPTION(exc) do { \
ec->errinfo = (VALUE)(exc); \
EC_JUMP_TAG(ec, ec->tag->state); \
} while (0)
#else
#if OPT_CALL_THREADED_CODE
#define THROW_EXCEPTION(exc) do { \
ec->errinfo = (VALUE)(exc); \
@ -179,7 +173,6 @@ default: \
#else
#define THROW_EXCEPTION(exc) return (VALUE)(exc)
#endif
#endif
#define SCREG(r) (reg_##r)