diff options
author | Jeremy Evans <code@jeremyevans.net> | 2019-08-30 23:50:50 -0700 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2019-08-30 23:50:50 -0700 |
commit | 1f18b578ce300a3ba71a9525e680037122bb81d3 (patch) | |
tree | 49265f5fdb8ade2db3b8bb56719907fb8122b090 /vm_insnhelper.h | |
parent | 4868ad7e5b3065f9d94cc7e70889c9d31ebe88cc (diff) |
Don't pass an empty keyword hash when double splatting empty hash
Diffstat (limited to 'vm_insnhelper.h')
-rw-r--r-- | vm_insnhelper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_insnhelper.h b/vm_insnhelper.h index f937af8b59..7709840930 100644 --- a/vm_insnhelper.h +++ b/vm_insnhelper.h @@ -240,6 +240,7 @@ THROW_DATA_CONSUMED_SET(struct vm_throw_data *obj) #define IS_ARGS_SPLAT(ci) ((ci)->flag & VM_CALL_ARGS_SPLAT) #define IS_ARGS_KEYWORD(ci) ((ci)->flag & VM_CALL_KWARG) +#define IS_ARGS_KW_SPLAT(ci) ((ci)->flag & VM_CALL_KW_SPLAT) /* If this returns true, an optimized function returned by `vm_call_iseq_setup_func` can be used as a fastpath. */ |