Skip to content

Commit

Permalink
Simplify Op.arg_type
Browse files Browse the repository at this point in the history
  • Loading branch information
bacek committed Mar 11, 2011
1 parent fa88183 commit 1315017
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions compilers/opsc/src/Ops/Op.pm
Expand Up @@ -147,8 +147,7 @@ method arg_types($args?) {
method arg_dirs($args?) { self.attr('arg_dirs', $args, defined($args)) }

method arg_type($arg_num) {
my @arg_types := self.arg_types;
@arg_types[$arg_num];
self<normalized_args>[$arg_num]<type>;
}

method full_name() {
Expand Down

0 comments on commit 1315017

Please sign in to comment.