Skip to content

Commit

Permalink
Revert a commit I thought I'd already reverted, but musta only done i…
Browse files Browse the repository at this point in the history
…n a branch.
  • Loading branch information
jnthn committed Jan 22, 2012
1 parent 0b6d2f1 commit 9c20151
Showing 1 changed file with 2 additions and 23 deletions.
25 changes: 2 additions & 23 deletions src/pmc/sixmodelobject.pmc
Expand Up @@ -96,29 +96,8 @@ pmclass SixModelObject manual_attrs dynpmc group nqp {
}

VTABLE PMC * find_method(STRING *name) {
PMC *m = PMCNULL;
PMC *decont;
Parrot_runloop jmp;
Parrot_Context *initialctx;
int runloop_id;

initialctx = CONTEXT(interp);
runloop_id = interp->current_runloop_id;
if (!setjmp(jmp.resume)) {
Parrot_ex_add_c_handler(interp, &jmp);
/* try */
decont = decontainerize(interp, SELF);
m = STABLE(decont)->find_method(interp, decont, name, NO_HINT);
} else {
while (interp->current_runloop && interp->current_runloop_id != runloop_id)
free_runloop_jump_point(interp);
if (initialctx != CONTEXT(interp))
Parrot_warn((interp), PARROT_WARNINGS_ALL_FLAG,
"find_method contexts differ!");
}
Parrot_cx_delete_handler_local(interp);

return m;
PMC *decont = decontainerize(interp, SELF);
return STABLE(decont)->find_method(interp, decont, name, NO_HINT);
}

VTABLE PMC* get_attr_keyed(PMC *class_handle, STRING *name) {
Expand Down

0 comments on commit 9c20151

Please sign in to comment.