diff options
author | Kevin Newton <[email protected]> | 2024-01-26 16:19:21 -0500 |
---|---|---|
committer | Kevin Newton <[email protected]> | 2024-01-26 16:46:31 -0500 |
commit | cb9a47f2acd6e373ef868b890a9d07da6f565dd4 (patch) | |
tree | 1f0b56bd4c53f817f6e2e67fa21507b345b280f8 | |
parent | de135bc247408712a0f630010778af0b405bae1f (diff) |
[PRISM] Fix branchif ADD_INSN1
-rw-r--r-- | prism_compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prism_compile.c b/prism_compile.c index 31220996fd..ecbe8810ba 100644 --- a/prism_compile.c +++ b/prism_compile.c @@ -6094,7 +6094,7 @@ pm_compile_node(rb_iseq_t *iseq, const pm_node_t *node, LINK_ANCHOR *const ret, checkmatch_flags |= VM_CHECKMATCH_ARRAY; } ADD_INSN1(ret, &dummy_line_node, checkmatch, INT2FIX(checkmatch_flags)); - ADD_INSN1(ret, &dummy_line_node, branchif, exception_match_label); + ADD_INSNL(ret, &dummy_line_node, branchif, exception_match_label); } } else { ADD_GETLOCAL(ret, &dummy_line_node, LVAR_ERRINFO, 0); |