Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Give Tree::Optimizer::CombinedPass the transformer-class treatment.

  • Loading branch information...
commit 91e9a41ed009904cc432a483d46d245fd1345127 1 parent 34eb267
tcurtis authored

Showing 1 changed file with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. +5 1 src/Tree/Optimizer/CombinedPass.nqp
6 src/Tree/Optimizer/CombinedPass.nqp
@@ -9,7 +9,11 @@ method new (@passes) {
9 9 }
10 10
11 11 method BUILD (:@passes) {
12   - $!transformer := Tree::Optimizer::Transformer::Combined.new(@passes)
  12 + $!transformer := self.transformer-class.new(@passes)
  13 +}
  14 +
  15 +method transformer-class () {
  16 + Tree::Optimizer::Transformer::Combined;
13 17 }
14 18
15 19 method run ($tree) {

0 comments on commit 91e9a41

Please sign in to comment.
Something went wrong with that request. Please try again.