Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
we cant trust boxed_primitive when inlinable is false, jnthn++
  • Loading branch information
FROGGS committed Aug 4, 2013
1 parent fffd8ee commit 8e8ae36
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/vm/parrot/QAST/Compiler.nqp
Expand Up @@ -599,7 +599,9 @@ class QAST::Compiler is HLL::Compiler {
# Set compilation unit ID, name and, if applicable, outer.
$sub.subid($node.cuid);
if nqp::istype($block.outer, BlockInfo) {
$sub.pirflags(':anon :lex :outer(' ~ self.escape($block.outer.qast.cuid) ~ ')');
if $node.name ne 'ed_os_thread' && $node.name ne 'ed_green_thread' {
$sub.pirflags(':anon :lex :outer(' ~ self.escape($block.outer.qast.cuid) ~ ')');
}
}
else {
$sub.pirflags(':anon :lex');
Expand Down

0 comments on commit 8e8ae36

Please sign in to comment.