Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove mentions of -d/-O/-v from --help output and docs/running.pod #838

  • Loading branch information...
commit 19183d00be33924b2a6e0cad3894ac6e5558ef9c 1 parent cc5687f
@leto leto authored
Showing with 3 additions and 40 deletions.
  1. +1 −35 docs/running.pod
  2. +2 −5 frontend/parrot2/prt0.winxed
View
36 docs/running.pod
@@ -47,18 +47,6 @@ Assume PASM input on stdin.
Assume PBC file on stdin, run it.
-=item -d, --imcc-debug [hexbits]
-
-The B<-d> switch takes an optional argument which is considered to hold a hex
-value of debug bits. Without a value, debug is set to 1.
-
-The individual bits can be listed on the command line by use of the
-B<--help-debug> switch.
-
-To produce really huge output on F<stderr> run C<"parrot B<-d 0ffff> ...">.
-Note: If the argument is separated by whitespace from the B<-d>
-switch, it has to start with a number.
-
=item -h, --help
Print command line option summary.
@@ -71,8 +59,7 @@ Print debugging and tracing flag bits summary.
Act like an assembler. Don't run code, unless B<-r> is given too. If the
outputfile ends with F<.pbc>, a PBC file is written. If it ends with F<.pasm>,
-a PASM output is generated, even from PASM input. This can be handy to check
-various optimizations, including C<-Op>.
+a PASM output is generated, even from PASM input.
=item --output-pbc
@@ -85,12 +72,6 @@ Only useful after C<-o> or C<--output-pbc>. Run the program from the compiled
in-memory image. If two C<-r> options are given, the F<.pbc> file is read from
disc and run. This is mainly needed for tests.
-=item -v, --verbose
-
-One C<-v> shows which files are worked on and prints a summary over register
-usage and optimization stats per I<subroutine>. With two C<-v> switches,
-C<parrot> prints a line per individual processing step too.
-
=item -y, --yydebug
Turn on yydebug in F<yacc>/F<bison>.
@@ -99,21 +80,6 @@ Turn on yydebug in F<yacc>/F<bison>.
Print version information and exit.
-=item -Ox
-
-Optimize
-
- -O0 no optimization (default)
- -O1 optimizations without life info (e.g. branches)
- -O same
- -O2 optimizations with life info
- -Op rewrite I and N PASM registers most used first
- -Ot select fastest runcore
- -Oc turns on the optional/experimental tail call optimizations
-
-See F<docs/dev/optimizer.pod> for more information on the optimizer. Note that
-optimization is currently experimental and these options are likely to change.
-
=item -E, --pre-process-only
Preprocess source file (expand macros) and print result to stdout:
View
7 frontend/parrot2/prt0.winxed
@@ -211,12 +211,9 @@ parrot [Options] <file> [<program options...>]
-. --wait Read a keystroke before starting
--runtime-prefix
<Compiler options>
- -d --imcc-debug[=HEXFLAGS]
- -v --verbose
-E --pre-process-only
-o --output=FILE
--output-pbc
- -O --optimize[=LEVEL]
-a --pasm
-c --pbc
-r --run-pbc
@@ -240,7 +237,7 @@ function __usage_and_exit[anon](string msg [optional], int has_msg [opt_flag])
var stderr = getstderr();
if (has_msg)
stderr.print(msg + "\n");
- stderr.print("parrot -[acEGhrtvVwy.] [-d [FLAGS]] [-D [FLAGS]] ");
- stderr.print("[-O [level]] [-[LIX] path] [-R runcore] [-o FILE] <file> <args>\n");
+ stderr.print("parrot -[acEGhrtVwy.] [-D [FLAGS]] ");
+ stderr.print("[-[LIX] path] [-R runcore] [-o FILE] <file> <args>\n");
exit(1);
}
Please sign in to comment.
Something went wrong with that request. Please try again.