Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add PAST::Stmt node around all statements in <statementlist> for regi…

…ster re-use. Bump PARROT_REVISION (for the first time in six months :-).
  • Loading branch information...
commit 7be0b48faed1b258298a2dfb61e5a9e135e9a5f5 1 parent 43c77a0
@pmichaud pmichaud authored
Showing with 2 additions and 1 deletion.
  1. +1 −1  build/PARROT_REVISION
  2. +1 −0  src/NQP/Actions.pm
View
2  build/PARROT_REVISION
@@ -1 +1 @@
-RELEASE_2_9_1-261-g495feaf
+RELEASE_3_4_0-266-gfb77d3c
View
1  src/NQP/Actions.pm
@@ -80,6 +80,7 @@ method statementlist($/) {
my $ast := $_.ast;
$ast := $ast<sink> if pir::defined($ast<sink>);
if $ast<bareblock> { $ast := block_immediate($ast); }
+ $ast := PAST::Stmt.new($ast) if $ast ~~ PAST::Node;
$past.push( $ast );
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.