jscript: Use already running interpreter for execution expressions that are source functions.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2016-03-29 17:49:08 +02:00 committed by Alexandre Julliard
parent 66632091bf
commit 2d35954adb
1 changed files with 1 additions and 1 deletions

View File

@ -982,7 +982,7 @@ static HRESULT interp_call(script_ctx_t *ctx)
return throw_type_error(ctx, JS_E_INVALID_PROPERTY, NULL);
clear_ret(frame);
return disp_call_value(ctx, get_object(obj), NULL, DISPATCH_METHOD,
return disp_call_value(ctx, get_object(obj), NULL, DISPATCH_METHOD | DISPATCH_JSCRIPT_CALLEREXECSSOURCE,
argn, stack_args(ctx, argn), do_ret ? &frame->ret : NULL);
}