Skip to content

Commit 53ee6a0

Browse files
committed
Fix a couple of pir:: bits.
1 parent 93072ff commit 53ee6a0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/NQPQ/Grammar.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ grammar NQP::Grammar is HLL::Grammar {
1717
# Serialization context builder - keeps track of objects that
1818
# cross the compile-time/run-time boundary that are associated
1919
# with this compilation unit.
20-
my $file := pir::find_caller_lex__ps('$?FILES');
20+
my $file := pir::find_caller_lex__Ps('$?FILES');
2121
my $source_id := nqp::sha1(nqp::getattr_s(self, NQPCursor, '$!target')) ~
2222
'-' ~ ~nqp::time_n();
2323
my $*W := nqp::isnull($file) ??

src/NQPQ/World.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,12 +264,12 @@ class NQP::World is HLL::World {
264264
if $have_code_type {
265265
%!code_object_fixup_list{$past.cuid()} := $fixups;
266266
if self.is_precompilation_mode() {
267-
pir::setprop__vPsP($dummy, 'CLONE_CALLBACK', sub ($orig, $clone, $code_obj) {
267+
pir::setprop__0PsP($dummy, 'CLONE_CALLBACK', sub ($orig, $clone, $code_obj) {
268268
%!code_objects_to_fix_up{$past.cuid()}.push($code_obj);
269269
});
270270
}
271271
else {
272-
pir::setprop__vPsP($dummy, 'CLONE_CALLBACK', sub ($orig, $clone, $code_obj) {
272+
pir::setprop__0PsP($dummy, 'CLONE_CALLBACK', sub ($orig, $clone, $code_obj) {
273273
# Emit fixup code.
274274
self.add_object($code_obj);
275275
$fixups.push(QAST::Op.new(

0 commit comments

Comments
 (0)