Skip to content

Commit

Permalink
[pmc2c] WIP - Making Parrot_CallContext_class_init static again. GH p…
Browse files Browse the repository at this point in the history
  • Loading branch information
ZYROz committed Jul 31, 2014
1 parent a036b40 commit c2e0eb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Parrot/Pmc2c/Method.pm
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ sub decl {
}
my $interp = $self->interp_unused ? 'SHIM_INTERP' : 'PARROT_INTERP';
my $pmcarg = $self->pmc_unused ? 'SHIM(PMC *_self)' : 'ARGMOD(PMC *_self)';
my $static = $pmcname eq 'CallContext' ? "" : "static";
my $static = (($pmcname eq 'CallContext') and not($meth eq 'class_init'))? "" : "static";

return <<"EOC";
$static $decs $ret${newl}Parrot_${pmcname}_$meth($interp, $pmcarg$args)$semi
Expand Down

0 comments on commit c2e0eb4

Please sign in to comment.