summaryrefslogtreecommitdiff
path: root/prism_compile.c
diff options
context:
space:
mode:
authorKevin Newton <[email protected]>2024-02-06 10:32:29 -0500
committerKevin Newton <[email protected]>2024-02-06 11:08:14 -0500
commitc6d4071c2969211bed7bb8ebb2ab46bc514090b4 (patch)
tree0177bcd1e53fef7445f4302cb390efe8bc5100b7 /prism_compile.c
parenta50e35888b9bc5428a30b95c0ded12ddb986354f (diff)
[PRISM] Handle match write popped
Diffstat (limited to 'prism_compile.c')
-rw-r--r--prism_compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/prism_compile.c b/prism_compile.c
index ab6af206f2..c46aa73d99 100644
--- a/prism_compile.c
+++ b/prism_compile.c
@@ -5943,8 +5943,8 @@ pm_compile_node(rb_iseq_t *iseq, const pm_node_t *node, LINK_ANCHOR *const ret,
}
// Finally, we can push the end label for either case.
- PM_POP_IF_POPPED;
ADD_LABEL(ret, end_label);
+ PM_POP_IF_POPPED;
return;
}
case PM_MISSING_NODE: {