From 9c2015143616315e669ddc15e1557b292d5720b5 Mon Sep 17 00:00:00 2001 From: jnthn Date: Sun, 22 Jan 2012 14:29:32 +0100 Subject: [PATCH] Revert a commit I thought I'd already reverted, but musta only done in a branch. --- src/pmc/sixmodelobject.pmc | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/src/pmc/sixmodelobject.pmc b/src/pmc/sixmodelobject.pmc index 0a7d303da3..6f246def23 100644 --- a/src/pmc/sixmodelobject.pmc +++ b/src/pmc/sixmodelobject.pmc @@ -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) {