Skip to content

Commit ac856c1

Browse files
committed
Fix control exception mask for new additions.
Now CONTROL also handles AWAIT/EMIT/DONE.
1 parent 67653b8 commit ac856c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vm/moar/QAST/QASTOperationsMAST.nqp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1672,7 +1672,7 @@ QAST::MASTOperations.add_core_op('handle', :!inlinable, sub ($qastcomp, $op) {
16721672
unless nqp::existskey(%handler_names, $type) {
16731673
nqp::die("Invalid handler type '$type'");
16741674
}
1675-
my $cat_mask := $type eq 'CONTROL' ?? 0xFFE !! %handler_names{$type};
1675+
my $cat_mask := $type eq 'CONTROL' ?? 0xEFFE !! %handler_names{$type};
16761676

16771677
# Chain in this handler.
16781678
my $check := QAST::Op.new(

0 commit comments

Comments
 (0)