On Fri Jul 18 08:22:48 2008, doughera wrote:

> 
> Oh yes -- I did remember one other.  Configure.pl currently offers you
the 
> opportunity to specify different sizes for opcode_t and INTVAL.  However, 
> parrot itself assumes they are the same size.  (See [perl #56810] for a 
> little more background.)
> 

This is outside my area of competence, but I suspect the relevant code
is this part of config/inter/types.pm:

sub runstep {
    my ( $self, $conf ) = @_;

    my $intval   = $conf->options->get('intval')   || 'long';
    my $floatval = $conf->options->get('floatval') || 'double';
    my $opcode   = $conf->options->get('opcode')   || 'long';

    if ( $conf->options->get('ask') ) {
        $intval   = prompt( "\n\nHow big would you like your integers to
be?", $intval );
        $floatval = prompt( "And your floats?",                        
       $floatval );
        $opcode   = prompt( "What's your native opcode type?",         
       $opcode );
        print "\n";
    }

    $conf->data->set(
        iv       => $intval,
        nv       => $floatval,
        opcode_t => $opcode
    );

    return 1;
}

Would you care to submit a patch?  Thanks.

Reply via email to