Author: coke
Date: Thu Aug 14 10:57:20 2008
New Revision: 30232

Modified:
   branches/remove_new_from_string/DEPRECATED.pod
   branches/remove_new_from_string/docs/pdds/pdd17_pmc.pod
   branches/remove_new_from_string/docs/pdds/pdd28_strings.pod
   branches/remove_new_from_string/src/ops/experimental.ops
   branches/remove_new_from_string/src/vtable.tbl

Log:
Remove new_from_string vtable entry and new_p_i_s opcode.

This breaks the build in the branch.


Modified: branches/remove_new_from_string/DEPRECATED.pod
==============================================================================
--- branches/remove_new_from_string/DEPRECATED.pod      (original)
+++ branches/remove_new_from_string/DEPRECATED.pod      Thu Aug 14 10:57:20 2008
@@ -41,10 +41,6 @@
 
 See RT #48567.
 
-=item * C<new_from_string> [post 0.5.0]
-
-See RT #47011.
-
 =back
 
 =head1 Opcodes
@@ -63,10 +59,6 @@
 
 See RT #48018. Replace usage with get_[hll,root]_global variants.
 
-=item * C<new>(out PMC, in INT, in STR) [post 0.5.0]
-
-See RT #47011.
-
 =item * C<get_mro> [post 0.5.0]
 
 See RT #47976.

Modified: branches/remove_new_from_string/docs/pdds/pdd17_pmc.pod
==============================================================================
--- branches/remove_new_from_string/docs/pdds/pdd17_pmc.pod     (original)
+++ branches/remove_new_from_string/docs/pdds/pdd17_pmc.pod     Thu Aug 14 
10:57:20 2008
@@ -479,14 +479,6 @@
 hash. This opcode is most often used with high-level classes, but
 low-level PMCs may instantiate an object of their own type.
 
-=item new_from_string [deprecated: See RT# 47011]
-
-  PMC* new_from_string(INTERP, PMC* self, STRING* rep, INTVAL flags)
-
-Construct a PMC initializing it from a string representation and integer
-flags. [NOTE: this has been replaced by C<instantiate>. Any
-initialization arguments can be passed in the I<init> hash.]
-
 =item inspect
 
   PMC* inspect(INTERP, PMC* self)

Modified: branches/remove_new_from_string/docs/pdds/pdd28_strings.pod
==============================================================================
--- branches/remove_new_from_string/docs/pdds/pdd28_strings.pod (original)
+++ branches/remove_new_from_string/docs/pdds/pdd28_strings.pod Thu Aug 14 
10:57:20 2008
@@ -611,10 +611,6 @@
 
 Initialize a new String PMC.
 
-=item new_from_string
-
-Create a new String PMC from a Parrot string argument.
-
 =item clone
 
 Clone a String PMC.

Modified: branches/remove_new_from_string/src/ops/experimental.ops
==============================================================================
--- branches/remove_new_from_string/src/ops/experimental.ops    (original)
+++ branches/remove_new_from_string/src/ops/experimental.ops    Thu Aug 14 
10:57:20 2008
@@ -301,26 +301,6 @@
     $1 = res;
 }
 
-=item B<new>(out PMC, in INT, in STR)
-
-Create a new PMC of the type $2 according to the PMCs string representation
-in $3.
-
-BUT SINCE INSTANTIATE WILL PROBABLY DIE, DON'T USE THIS;
-OR IF YOU NEED THIS (OR INSTANTIATE), TELL CHIP
-
-=cut
-
-op new(out PMC, in INT, in STR) {
-  PMC *_class;
-  if ($2 <= 0 || $2 >= interp->n_vtable_max) {
-    Parrot_ex_throw_from_c_args(interp, 0, EXCEPTION_NO_CLASS,
-                   "Illegal PMC enum (%d) in new", (int)$2);
-  }
-  _class = interp->vtables[$2]->pmc_class;
-  $1 = VTABLE_new_from_string(interp, _class, $3, 0);
-}
-
 ########################################
 
 =item B<add_io_event>(invar PMC, invar PMC, invar PMC, inconst INT)

Modified: branches/remove_new_from_string/src/vtable.tbl
==============================================================================
--- branches/remove_new_from_string/src/vtable.tbl      (original)
+++ branches/remove_new_from_string/src/vtable.tbl      Thu Aug 14 10:57:20 2008
@@ -10,7 +10,6 @@
 # init must be first for JITed vtable meths
 void init_pmc(PMC* initializer)
 PMC* instantiate(PMC* sig)
-PMC* new_from_string(STRING* rep, INTVAL flags)
 void morph(INTVAL type) :write
 void mark()
 void destroy()

Reply via email to