Skip to content

Commit c0c31bf

Browse files
committed
Avoid use of nqp::time_n() if --stable-sc was provided
1 parent a19dab8 commit c0c31bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/QAST/Block.nqp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class QAST::Block is QAST::Node does QAST::Children {
3737
}
3838

3939
my $cur_cuid := 0;
40-
my $cuid_suffix := ~nqp::time_n();
40+
my $cuid_suffix := %*COMPILING<%?OPTIONS><stable-sc> || ~nqp::time_n();
4141

4242
method cuid($value = NO_VALUE) {
4343
if !($value =:= NO_VALUE) {

0 commit comments

Comments
 (0)