[svn:parrot] r41280 - in trunk: docs lib/Parrot/Harness t

chromatic at svn.parrot.org chromatic at svn.parrot.org
Tue Sep 15 19:45:51 UTC 2009


Author: chromatic
Date: Tue Sep 15 19:45:50 2009
New Revision: 41280
URL: https://trac.parrot.org/parrot/changeset/41280

Log:
[docs] Updated references to JIT cores to note that the existing runcore
switches are now aliases for their non-JIT counterparts.  Mapped -j in the test
harness to the fast core.

Modified:
   trunk/docs/running.pod
   trunk/lib/Parrot/Harness/Options.pm
   trunk/t/harness

Modified: trunk/docs/running.pod
==============================================================================
--- trunk/docs/running.pod	Tue Sep 15 19:18:04 2009	(r41279)
+++ trunk/docs/running.pod	Tue Sep 15 19:45:50 2009	(r41280)
@@ -137,16 +137,18 @@
   slow, bounds  bounds checking core (default)
   cgoto         computed goto core
   cgp           computed goto-predereferenced core
-  cgp-jit       computed goto-predereferenced core with JIT
   exec          exec core (uses JIT at compile time to generate native code)
   fast          fast core (no bounds checking, profiling, or tracing)
   gcdebug       performs a full GC run before every op dispatch (good for
                 debugging GC problems)
-  jit           JIT core
   switch        switch core
-  switch-jit    switch core with JIT
   trace         bounds checking core w/ trace info (see 'parrot --help-debug')
 
+The C<jit>, C<switch-jit>, and C<cgp-jit> options are currently aliases for the
+C<fast>, C<switch>, and C<cgp> options, respectively.  We do not recommend
+their use in new code; they will continue working for existing code per our
+deprecation policy.
+
 =item -p, --profile
 
 Run with the slow core and print an execution profile.

Modified: trunk/lib/Parrot/Harness/Options.pm
==============================================================================
--- trunk/lib/Parrot/Harness/Options.pm	Tue Sep 15 19:18:04 2009	(r41279)
+++ trunk/lib/Parrot/Harness/Options.pm	Tue Sep 15 19:45:50 2009	(r41280)
@@ -1,4 +1,4 @@
-# Copyright (C) 2006-2008, Parrot Foundation.
+# Copyright (C) 2006-2009, Parrot Foundation.
 # $Id$
 
 =head1 NAME
@@ -88,7 +88,7 @@
     my ($opts_ref) = @_;
 
     my %remap      = (
-        'j' => '-runcore=jit',
+        'j' => '-runcore=fast',
         'g' => '-runcore=cgoto',
         'C' => '-runcore=cgp',
         'S' => '-runcore=switch',

Modified: trunk/t/harness
==============================================================================
--- trunk/t/harness	Tue Sep 15 19:18:04 2009	(r41279)
+++ trunk/t/harness	Tue Sep 15 19:45:50 2009	(r41280)
@@ -1,5 +1,5 @@
 #!perl
-# Copyright (C) 2001-2008, Parrot Foundation.
+# Copyright (C) 2001-2009, Parrot Foundation.
 # $Id$
 
 use strict;
@@ -147,7 +147,7 @@
 
 =item C<-j>
 
-Run with JIT enabled.
+Alias for running with the fast core.
 
 =item C<-C>
 


More information about the parrot-commits mailing list