Permalink
Browse files

Change atpos_s to atpos in NQPMu.

  • Loading branch information...
arnsholt committed Mar 17, 2013
1 parent f8f91b1 commit 3f3c6af2e6e9121274fa8998b97ce02986f094e8
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/core/NQPMu.pm
View
@@ -26,29 +26,29 @@ my class NQPMu {
# See if we have a value to initialize this attr with.
my $key_name := nqp::atpos($task, 2);
if nqp::existskey(%attrinit, $key_name) {
- nqp::bindattr(self, nqp::atpos($task, 1), nqp::atpos_s($task, 3), %attrinit{$key_name});
+ nqp::bindattr(self, nqp::atpos($task, 1), nqp::atpos($task, 3), %attrinit{$key_name});
}
}
elsif nqp::iseq_i($code, 2) {
# See if we have a value to initialize this attr with;
# if not, set it to an empty array.
my $key_name := nqp::atpos($task, 2);
if nqp::existskey(%attrinit, $key_name) {
- nqp::bindattr(self, nqp::atpos($task, 1), nqp::atpos_s($task, 3), %attrinit{$key_name});
+ nqp::bindattr(self, nqp::atpos($task, 1), nqp::atpos($task, 3), %attrinit{$key_name});
}
else {
- nqp::bindattr(self, nqp::atpos($task, 1), nqp::atpos_s($task, 3), nqp::list());
+ nqp::bindattr(self, nqp::atpos($task, 1), nqp::atpos($task, 3), nqp::list());
}
}
elsif nqp::iseq_i($code, 3) {
# See if we have a value to initialize this attr with;
# if not, set it to an empty hash.
my $key_name := nqp::atpos($task, 2);
if nqp::existskey(%attrinit, $key_name) {
- nqp::bindattr(self, nqp::atpos($task, 1), nqp::atpos_s($task, 3), %attrinit{$key_name});
+ nqp::bindattr(self, nqp::atpos($task, 1), nqp::atpos($task, 3), %attrinit{$key_name});
}
else {
- nqp::bindattr(self, nqp::atpos($task, 1), nqp::atpos_s($task, 3), nqp::hash());
+ nqp::bindattr(self, nqp::atpos($task, 1), nqp::atpos($task, 3), nqp::hash());
}
}
elsif nqp::iseq_i($code, 4) {

0 comments on commit 3f3c6af

Please sign in to comment.