diff options
Diffstat (limited to 'mjit_compiler.c')
-rw-r--r-- | mjit_compiler.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mjit_compiler.c b/mjit_compiler.c index f04f7b0c03..2b518feffd 100644 --- a/mjit_compiler.c +++ b/mjit_compiler.c @@ -164,6 +164,9 @@ has_cache_for_send(rb_execution_context_t *ec, VALUE self, VALUE cc_addr, VALUE extern bool rb_splat_or_kwargs_p(const struct rb_callinfo *restrict ci); +#define SIZEOF(type) RB_SIZE2NUM(sizeof(type)) +#define SIGNED_TYPE_P(type) RBOOL((type)(-1) < (type)(0)) + #include "mjit_c.rbinc" #include "mjit_compiler.rbinc" |