Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make compiler little bit more happy.
  • Loading branch information
bacek committed May 13, 2011
1 parent d846b25 commit 34e9e7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pmc/sixmodelobject.pmc
Expand Up @@ -393,15 +393,15 @@ pmclass SixModelObject manual_attrs dynpmc group nqp {
else
SUPER(value);
}
VTABLE opcode_t* invoke(opcode_t *next) {

VTABLE opcode_t *invoke(void *next) {
PMC **vt = STABLE(SELF)->parrot_vtable_mapping;
PMC *meth;
if (vt && !PMC_IS_NULL(meth = vt[PARROT_VTABLE_SLOT_INVOKE])) {
PMC *cur_ctx = Parrot_pcc_get_signature(interp, CURRENT_CONTEXT(interp));
VTABLE_unshift_pmc(interp, cur_ctx, SELF);
Parrot_pcc_invoke_from_sig_object(interp, meth, cur_ctx);
return next;
return (opcode_t *)next;
}
else
return SUPER(next);
Expand Down

0 comments on commit 34e9e7c

Please sign in to comment.