Skip to content

Commit

Permalink
Don't generate VTABLE_getprop
Browse files Browse the repository at this point in the history
  • Loading branch information
bacek committed Mar 3, 2012
1 parent 4a9efbc commit b7b2470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Parrot/Pmc2c/PMC/default.pm
Expand Up @@ -59,7 +59,7 @@ static PMC *
Parrot_default_ro_find_method(PARROT_INTERP, ARGMOD(PMC *_self), ARGMOD(STRING *method_name)) {
/* Use non-readonly find_method. Current vtable is ro variant. So ro_variant contains non-ro variant */
PMC *const method = _self->vtable->ro_variant_vtable->find_method(interp, _self, method_name);
if (!PMC_IS_NULL(VTABLE_getprop(interp, method, CONST_STRING_GEN(interp, "write"))))
if (!PMC_IS_NULL(Parrot_pmc_getprop(interp, method, CONST_STRING_GEN(interp, "write"))))
return PMCNULL;
else
return method;
Expand Down

0 comments on commit b7b2470

Please sign in to comment.