[svn:parrot] r44286 - in trunk: . src/ops
coke at svn.parrot.org
coke at svn.parrot.org
Mon Feb 22 03:26:14 UTC 2010
Author: coke
Date: Mon Feb 22 03:26:12 2010
New Revision: 44286
URL: https://trac.parrot.org/parrot/changeset/44286
Log:
actually complain about TT #633
Modified:
trunk/DEPRECATED.pod
trunk/src/ops/sys.ops
Modified: trunk/DEPRECATED.pod
==============================================================================
--- trunk/DEPRECATED.pod Mon Feb 22 02:43:55 2010 (r44285)
+++ trunk/DEPRECATED.pod Mon Feb 22 03:26:12 2010 (r44286)
@@ -104,6 +104,13 @@
for Sub, Exception, and related PMC types will instead be handled by
get_label and set_label.
+=item sizeof [eligible in 2.4]
+
+This opcode uses the old integer ID for a PMC type; this opcode should be changed
+to use the current methods to lookup a PMC or removed entirely.
+
+L<https://trac.parrot.org/parrot/ticket/633>
+
=item All bitwise ops [eligible in 2.1]
All bitwise ops (all ops containing C<bitwise> in their names) will be provided
Modified: trunk/src/ops/sys.ops
==============================================================================
--- trunk/src/ops/sys.ops Mon Feb 22 02:43:55 2010 (r44285)
+++ trunk/src/ops/sys.ops Mon Feb 22 03:26:12 2010 (r44286)
@@ -313,7 +313,7 @@
=cut
-inline op sizeof (out INT, in INT) {
+inline op sizeof (out INT, in INT) :deprecated {
if ($2 < enum_first_type || $2 >= enum_last_type)
$1 = -1;
else
More information about the parrot-commits
mailing list