[svn:parrot] r48474 - in branches/gc_threshold_tuning: . src/ops
chromatic at svn.parrot.org
chromatic at svn.parrot.org
Sat Aug 14 00:32:38 UTC 2010
Author: chromatic
Date: Sat Aug 14 00:32:37 2010
New Revision: 48474
URL: https://trac.parrot.org/parrot/changeset/48474
Log:
[TT #1738] Improve docs of PARROT_ERROR_*_FLAG Paul_the_Greek++
Modified:
branches/gc_threshold_tuning/DEPRECATED.pod
branches/gc_threshold_tuning/src/ops/core.ops
Modified: branches/gc_threshold_tuning/DEPRECATED.pod
==============================================================================
--- branches/gc_threshold_tuning/DEPRECATED.pod Sat Aug 14 00:32:35 2010 (r48473)
+++ branches/gc_threshold_tuning/DEPRECATED.pod Sat Aug 14 00:32:37 2010 (r48474)
@@ -249,6 +249,10 @@
L<https://trac.parrot.org/parrot/ticket/1655>
+=item errorson, errorsoff operations [eligible in 2.7]
+
+The C<.PARROT_ERRORS_GLOBAL_FLAG> flag will be eliminated. It is not used by Parrot.
+
=back
=head1 Bytecode
Modified: branches/gc_threshold_tuning/src/ops/core.ops
==============================================================================
--- branches/gc_threshold_tuning/src/ops/core.ops Sat Aug 14 00:32:35 2010 (r48473)
+++ branches/gc_threshold_tuning/src/ops/core.ops Sat Aug 14 00:32:37 2010 (r48474)
@@ -1009,19 +1009,22 @@
=item .PARROT_ERRORS_GLOBALS_FLAG
-Throw an exception if global doesn't exist. Default: on.
+Throw an exception if a global doesn't exist. This
+flag is not used by Parrot and is deprecated.
=item .PARROT_ERRORS_OVERFLOW_FLAG
-Throw math overflow instead of promoting to BigInt. Default: off.
+When performing arithmetic on Integer PMCs, throw a math overflow exception
+instead of promoting to BigInt. This flag does not pertain to native integers,
+which are never promoted. Default: off.
=item .PARROT_ERRORS_PARAM_COUNT_FLAG
-Throw exception on argument <-> param count mismatch. Default: off.
+Throw an exception on an argument versus parameter count mismatch. Default: on.
=item .PARROT_ERRORS_RESULT_COUNT_FLAG
-Throw exception on return <-> result count mismatch. Default: off.
+Throw an exception on a return versus result count mismatch. Default: off.
=item .PARROT_ERRORS_ALL_FLAG
More information about the parrot-commits
mailing list