Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix bug in Pmc2c which always generate WriteBarrier even :manual_wb w…

…as specified.
  • Loading branch information...
commit d57ea9535f2a8a26f3f40daf9a8c3964dce73df5 1 parent bf13f88
@bacek bacek authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Parrot/Pmc2c/PMC.pm
View
2  lib/Parrot/Pmc2c/PMC.pm
@@ -745,7 +745,7 @@ sub post_method_gen {
split (/,/, $method->parameters);
$body .= $method->full_method_name($self->name) . "_orig($parameters);\n";
- $body .= "PARROT_GC_WRITE_BARRIER(interp, _self);\n";
+ $body .= "PARROT_GC_WRITE_BARRIER(interp, _self);\n" unless $self->vtable_method_has_manual_wb($method->name);
$body .= "return result;" if $need_result;
$method->body(Parrot::Pmc2c::Emitter->text($body) );
Please sign in to comment.
Something went wrong with that request. Please try again.