Skip to content
Browse files

remove pir::escape call

  • Loading branch information...
1 parent 90f5160 commit 8740c506f0aaea66fc3056b3d3acd1a54474738e @moritz moritz committed
Showing with 1 addition and 5 deletions.
  1. +0 −4 docs/pir2nqp.todo
  2. +1 −1 src/QAST/PIRT.nqp
View
4 docs/pir2nqp.todo
@@ -38,10 +38,6 @@ pir::push_dispatchee__0PP
pir::getinterp__P
pir::getattribute__PPs
-to become nqp::escape
-pir::escape__SS
-pir::escape__Ss
-
to become nqp::load
pir::load_bytecode
View
2 src/QAST/PIRT.nqp
@@ -120,7 +120,7 @@ class PIRT::Sub is PIRT::Node {
has str $!cached_pir;
method escape($str) {
- my $esc := pir::escape__Ss($str);
+ my $esc := nqp::escape($str);
nqp::index($esc, '\x', 0) >= 0 ??
'utf8:"' ~ $esc ~ '"' !!
(nqp::index($esc, '\u', 0) >= 0 ??

0 comments on commit 8740c50

Please sign in to comment.
Something went wrong with that request. Please try again.