VAST/statement_control__S_CONTROL.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use v5.10;
2 use MooseX::Declare;
3 use utf8;
4 # CONTROL blocks are moved to the top of the
5 # statementlist, so we know that no code was executed
6 # before this, so we can peacefully delay the setup of the
7 # control block up to this point.
8 class VAST::statement_control__S_CONTROL {
9 use Mildew::AST::Helpers;
10 method emit_m0ld {
11 call 'set_control' => (call 'continuation' => reg '$interpreter'), [ code($self->{block},FETCH(lookup('$DefaultBlockSignature'))) ];
12 }
13 }