| 1 | use v5.10; | ||
| 2 | use utf8; | ||
| 3 | use MooseX::Declare; | ||
| 4 | class Mildew::AST::Phi extends Mildew::AST::Base { | ||
| 5 | has 'regs' => (is => 'ro'); | ||
| 6 | method pretty { | ||
| 7 | "phi(".join (',',map {$_->pretty} @{$self->regs}).")"; | ||
| 8 | } | ||
| 9 | method m0ld($target) { | ||
| 10 | die "phi functions can't be represented in mold"; | ||
| 11 | } | ||
| 12 | } |