Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Last couple of tweaks needed to get CORE.setting compilation to PIR t…
…o complete. The generated PIR doesn't quite work yet.
  • Loading branch information
jnthn committed Jul 21, 2012
1 parent bb7a618 commit 34ad03b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/core/Exception.pm
Expand Up @@ -24,7 +24,7 @@ my class Exception {
unless nqp::defined($!ex);
pir::setattribute__vPsP($!ex, 'payload', nqp::p6decont(self));
my $msg := self.?message;
pir::setattribute__vPsP($!ex, 'message', nqp::unbox_s($msg.Str))
pir::setattribute__0PsP($!ex, 'message', nqp::unbox_s($msg.Str))
if $msg.defined;
nqp::throw($!ex)
}
Expand Down Expand Up @@ -143,7 +143,7 @@ do {
$_() for pir::perl6ize_type__PP(@*END_PHASERS);
}
if $! {
pir::perl6_based_rethrow__vPP(nqp::getattr($!, Exception, '$!ex'), $ex);
pir::perl6_based_rethrow__0PP(nqp::getattr($!, Exception, '$!ex'), $ex);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/core/MapIter.pm
Expand Up @@ -33,7 +33,7 @@ my class MapIter is Iterator {

if $!first {
$!items := nqp::qlist();
pir::perl6_set_block_first_flag__vP($block)
pir::perl6_set_block_first_flag__0P($block)
if (nqp::can($block, 'phasers') && $block.phasers('FIRST'));
}

Expand Down

0 comments on commit 34ad03b

Please sign in to comment.