Skip to content

Commit 77c5c40

Browse files
committed
Eradicated pir::push__vPi from source, replaced by nqp::push_i
1 parent a6b22f6 commit 77c5c40

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

docs/pir2nqp.todo

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ pir::const::INTERPINFO_TOTAL_MEM_USED
2626
pir::const::INTERPINFO_TOTAL_PMCS
2727

2828
can be done now by lizmat
29-
pir::push__vPi -> nqp::push_i
3029
pir::setattribute__vppsp -> nqp::bindattr
3130
pir::getattribute__PPPs -> nqp::getattr
3231
pir::getattribute__ppps -> nqp::getattr

src/QRegex/Cursor.nqp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@ role NQPCursorRole {
118118
$!cstack := [] unless nqp::defined($!cstack);
119119
nqp::push($!cstack, $capture);
120120
nqp::bindattr($capture, $?CLASS, '$!name', $name);
121-
pir::push__vPi($!bstack, 0);
122-
pir::push__vPi($!bstack, $!pos);
123-
pir::push__vPi($!bstack, 0);
124-
pir::push__vPi($!bstack, nqp::elems($!cstack));
121+
nqp::push_i($!bstack, 0);
122+
nqp::push_i($!bstack, $!pos);
123+
nqp::push_i($!bstack, 0);
124+
nqp::push_i($!bstack, nqp::elems($!cstack));
125125
$!cstack;
126126
}
127127

0 commit comments

Comments
 (0)