Author: coke
Date: Sun Dec 28 17:01:45 2008
New Revision: 34529

Modified:
   trunk/DEPRECATED.pod
   trunk/src/ops/experimental.ops

Log:
Remove the experimental 'slice' ops.

(don't think we need to touch PBC_COMPAT for experimental ops.)



Modified: trunk/DEPRECATED.pod
==============================================================================
--- trunk/DEPRECATED.pod        (original)
+++ trunk/DEPRECATED.pod        Sun Dec 28 17:01:45 2008
@@ -60,12 +60,6 @@
 
 These opcodes were only used by the old MMD system. See TT #7.
 
-=item * C<slice> [post 0.8.2]
-
-The C<slice> opcode's implementation is experimental. Its use cases and
-implementation should be reconsidered. The current implementation will
-be removed.
-
 =back
 
 =head1 Class Features

Modified: trunk/src/ops/experimental.ops
==============================================================================
--- trunk/src/ops/experimental.ops      (original)
+++ trunk/src/ops/experimental.ops      Sun Dec 28 17:01:45 2008
@@ -146,31 +146,12 @@
 }
 
 
-=item B<slice>(out PMC, invar PMC, in KEY)
-
-Return a new Iterator PMC $1 for aggregate $2 and Slice PMC $3.
-
-=item B<slice>(out PMC, invar PMC, in KEY, inconst INT)
-
-Return a new list PMC $1 for aggregate $2 and Slice PMC $3.
-
-This is a Python opcode. Range is i <= k < j. $4 must be 1.
-May change and move to python.ops.
-
 =item B<iter>(out PMC, invar PMC)
 
 Return a new Iterator PMC $1 for aggregate $2.
 
 =cut
 
-inline op slice(out PMC, invar PMC, in KEY) :base_core {
-    $1 = VTABLE_slice(interp, $2, $3, 0);
-}
-
-inline op slice(out PMC, invar PMC, in KEY, inconst INT) :python {
-    $1 = VTABLE_slice(interp, $2, $3, $4);
-}
-
 inline op iter(out PMC, invar PMC) :base_core {
     $1 = VTABLE_get_iter(interp, $2);
 }

Reply via email to