[svn:parrot] r41327 - branches/kill_jit/config/auto

darbelo at svn.parrot.org darbelo at svn.parrot.org
Thu Sep 17 20:48:34 UTC 2009


Author: darbelo
Date: Thu Sep 17 20:48:33 2009
New Revision: 41327
URL: https://trac.parrot.org/parrot/changeset/41327

Log:
Don't probe for information we won't need.

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 20:14:37 2009	(r41326)
+++ branches/kill_jit/config/auto/frames.pm	Thu Sep 17 20:48:33 2009	(r41327)
@@ -3,7 +3,7 @@
 
 =head1 NAME
 
-config/auto/frmes - 
+config/auto/frmes
 
 =head1 DESCRIPTION
 
@@ -37,20 +37,20 @@
     my $cpuarch = $conf->data->get('cpuarch');
     my $nvsize  = $conf->data->get('nvsize');
 
-    if (defined $conf->options->get('buildframes') || ($nvsize == 8
-        && $cpuarch eq 'i386' && $osname ne 'darwin')) {
+    if (defined $conf->options->get('buildframes')) {
+        $can_build_call_frames = $conf->options->get('buildframes');
+    }
+    elsif ($nvsize == 8 && $cpuarch eq 'i386' && $osname ne 'darwin') {
         $can_build_call_frames = 1;
     }
 
     if ( $can_build_call_frames ) {
         $conf->data->set(
-            can_build_call_frames => 1,
             cc_build_call_frames  => '-DCAN_BUILD_CALL_FRAMES',
         );
     }
     else {
         $conf->data->set(
-            can_build_call_frames => 0,
             cc_build_call_frames  => '',
         );
     }


More information about the parrot-commits mailing list