RE: another silly question about Parrot::Opcode

2001-09-19 Thread Gibbs Tanton - tgibbs
ECTED] Sent: 9/19/2001 2:11 PM Subject: another silly question about Parrot::Opcode I found one more bit that looks odd to me (again in _load), near the end of the while loop is this code: my $num_i = () = grep {/i/} @params; my $num_n = () = grep {/n/} @params; $opcode{

another silly question about Parrot::Opcode

2001-09-19 Thread Pat Eyler
I found one more bit that looks odd to me (again in _load), near the end of the while loop is this code: my $num_i = () = grep {/i/} @params; my $num_n = () = grep {/n/} @params; $opcode{$name}{RETURN_OFFSET} = 1 + $num_i + $num_n * 2; which could be reduced to: