[svn:parrot] r41329 - branches/kill_jit/config/auto
darbelo at svn.parrot.org
darbelo at svn.parrot.org
Fri Sep 18 00:06:43 UTC 2009
Author: darbelo
Date: Fri Sep 18 00:06:39 2009
New Revision: 41329
URL: https://trac.parrot.org/parrot/changeset/41329
Log:
Add an else to the conditional chain in the interest of test-coverability. kid51++ for pointing it out.
Modified:
branches/kill_jit/config/auto/frames.pm
Modified: branches/kill_jit/config/auto/frames.pm
==============================================================================
--- branches/kill_jit/config/auto/frames.pm Thu Sep 17 21:26:24 2009 (r41328)
+++ branches/kill_jit/config/auto/frames.pm Fri Sep 18 00:06:39 2009 (r41329)
@@ -31,7 +31,7 @@
sub runstep {
my ( $self, $conf ) = @_;
- my $can_build_call_frames = 0;
+ my $can_build_call_frames;
my $osname = $conf->data->get('osname');
my $cpuarch = $conf->data->get('cpuarch');
@@ -43,6 +43,9 @@
elsif ($nvsize == 8 && $cpuarch eq 'i386' && $osname ne 'darwin') {
$can_build_call_frames = 1;
}
+ else {
+ $can_build_call_frames = 0;
+ }
if ( $can_build_call_frames ) {
$conf->data->set(
More information about the parrot-commits
mailing list