path: root/mjit_compile.c
diff options
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-06 14:07:57 (GMT)
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-06 14:07:57 (GMT)
commit3cb196f404efdb391dd3020a1df0518b12338802 (patch)
tree6de077d242d2944efb09a50aa04d160df46d8534 /mjit_compile.c
parent1c8d23796f03c174c45b59f2eb2d4c8ff917b5b0 (diff)
mjit_compile.c: share the definition of macros
(IS_ARGS_SPLAT, IS_ARGS_KEYWORD) with vm_args.c. vm_args.c: share them with mjit_compile.c. vm_insnhelper.h: get those definitions, with CALLER_SETUP_ARG too git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mjit_compile.c')
1 files changed, 0 insertions, 4 deletions
diff --git a/mjit_compile.c b/mjit_compile.c
index 226d3e3..fc864c6 100644
--- a/mjit_compile.c
+++ b/mjit_compile.c
@@ -48,10 +48,6 @@ get_iseq_if_available(CALL_CACHE cc)
return NULL;
-/* TODO: move to somewhere shared with vm_args.c */
-#define IS_ARGS_SPLAT(ci) ((ci)->flag & VM_CALL_ARGS_SPLAT)
-#define IS_ARGS_KEYWORD(ci) ((ci)->flag & VM_CALL_KWARG)
/* Returns TRUE if iseq is inlinable, otherwise NULL. This becomes TRUE in the same condition
as CI_SET_FASTPATH (in vm_callee_setup_arg) is called from vm_call_iseq_setup. */
static int