[PATCH v7 2/4] jscript: Store the proper 'this' object for bytecodes with named items.

Jacek Caban jacek at codeweavers.com
Tue Mar 10 10:41:31 CDT 2020


On 10.03.2020 14:04, Gabriel Ivăncescu wrote:
>       }
> +    else if(bytecode->named_item) {
> +        frame->this_obj = (bytecode->named_item->flags & SCRIPTITEM_CODEONLY)
> +                          ? to_disp(bytecode->named_item->script_obj) : bytecode->named_item->disp;
> +        IDispatch_AddRef(frame->this_obj);
> +    }


Is there any reason you're doing this here instead of interp_this?


Thanks,

Jacek




More information about the wine-devel mailing list