Browse files

Remove new_si op. Closes #203.

  • Loading branch information...
1 parent d1aaa23 commit f8e4a7ae2136821ebbfe3326829c81e4a40ab1e7 @bacek bacek committed Mar 2, 2012
Showing with 1 addition and 10 deletions.
  1. +1 −10 src/ops/string.ops
View
11 src/ops/string.ops
@@ -320,23 +320,14 @@ inline op sprintf(out PMC, invar PMC, invar PMC) :base_core {
=item B<new>(out STR)
-=item B<new>(out STR, in INT)
-
-Allocate a new empty string of length $2 (optional).
-
-XXX: Do these ops make sense with immutable strings?
+Allocate a new empty string.
=cut
inline op new(out STR) :base_mem {
$1 = Parrot_str_new_noinit(interp, 0);
}
-inline op new(out STR, in INT) :base_mem :deprecated {
- Parrot_warn_deprecated(interp, "new_s_i op is deprecated");
- $1 = Parrot_str_new_noinit(interp, $2);
-}
-
=item B<stringinfo>(out INT, in STR, in INT)

0 comments on commit f8e4a7a

Please sign in to comment.