[svn:parrot] r39807 - in trunk: lib/Parrot lib/Parrot/Pmc2c src/runcore
cotto at svn.parrot.org
cotto at svn.parrot.org
Sat Jun 27 04:04:44 UTC 2009
Author: cotto
Date: Sat Jun 27 04:04:36 2009
New Revision: 39807
URL: https://trac.parrot.org/parrot/changeset/39807
Log:
[docs] fix some typos, add a clarifying comment
Modified:
trunk/lib/Parrot/OpsFile.pm
trunk/lib/Parrot/Pmc2c/PMCEmitter.pm
trunk/src/runcore/cores.c
Modified: trunk/lib/Parrot/OpsFile.pm
==============================================================================
--- trunk/lib/Parrot/OpsFile.pm Sat Jun 27 03:26:36 2009 (r39806)
+++ trunk/lib/Parrot/OpsFile.pm Sat Jun 27 04:04:36 2009 (r39807)
@@ -85,9 +85,9 @@
=item 2 behavior
-The presence (or absence) of certain flags will change how the op
-behaviors. For example, the lack of the C<flow> flag will cause the
-op to be implicitly terminated with C<goto NEXT()>. (See next section).
+The presence (or absence) of certain flags will change how the op behaves. For
+example, the lack of the C<flow> flag will cause the op to be implicitly
+terminated with C<goto NEXT()>. (See next section).
The :deprecated flag will generate a diagnostic to standard error at
runtime when a deprecated opcode is invoked and
Modified: trunk/lib/Parrot/Pmc2c/PMCEmitter.pm
==============================================================================
--- trunk/lib/Parrot/Pmc2c/PMCEmitter.pm Sat Jun 27 03:26:36 2009 (r39806)
+++ trunk/lib/Parrot/Pmc2c/PMCEmitter.pm Sat Jun 27 04:04:36 2009 (r39807)
@@ -698,6 +698,7 @@
foreach my $method ( @{ $self->{methods} } ) {
next unless $method->type eq Parrot::Pmc2c::Method::NON_VTABLE;
+ #these differ for METHODs
my $method_name = $method->name;
my $symbol_name = $method->symbol;
Modified: trunk/src/runcore/cores.c
==============================================================================
--- trunk/src/runcore/cores.c Sat Jun 27 03:26:36 2009 (r39806)
+++ trunk/src/runcore/cores.c Sat Jun 27 04:04:36 2009 (r39807)
@@ -149,7 +149,7 @@
The precomputed goto core is an amazingly fast optimized core that uses
the same computed goto feature, but performs the array dereferencing
before the core even starts. The compiled bytecode is fed into a
-preprocessor that converts the bytecode instruction numbers into lable
+preprocessor that converts the bytecode instruction numbers into label
pointer values. In the computed goto core, you have this
operation to move to the next opcode:
More information about the parrot-commits
mailing list