diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-06 14:07:57 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-06 14:07:57 +0000 |
commit | 6092fcde6920a5da0ad6b9cc8d33e71eac4f4201 (patch) | |
tree | 6de077d242d2944efb09a50aa04d160df46d8534 /mjit_compile.c | |
parent | 28733d4cf4256e625b3994d1de1e5132bcb452c3 (diff) | |
download | ruby-6092fcde6920a5da0ad6b9cc8d33e71eac4f4201.tar.gz |
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://ci.ruby-lang.org/ruby/trunk@62254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mjit_compile.c')
-rw-r--r-- | mjit_compile.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/mjit_compile.c b/mjit_compile.c index 226d3e30a7..fc864c6187 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 |