Skip to content

Commit

Permalink
Use spesh plugin for BUILDALL assignments
Browse files Browse the repository at this point in the history
This gets an assignment-using benchmark running in 72% of the time it
used to take, which is a surprisingly large win.
  • Loading branch information
jnthn committed Sep 26, 2018
1 parent 8978702 commit 14fa3b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/World.nqp
Expand Up @@ -3307,7 +3307,7 @@ class Perl6::World is HLL::World {
$if.push(
QAST::Op.new(
:op( $sigil eq '$' || $sigil eq '&'
?? 'assign' !! 'p6store'
?? 'p6assign' !! 'p6store'
),
$getattr,
QAST::Var.new( :name($tmp), :scope<local> )
Expand Down

0 comments on commit 14fa3b6

Please sign in to comment.