[PATCH v4 2/4] jscript: Lookup host global object on demand instead of storing it in script context.

Jacek Caban jacek at codeweavers.com
Thu Mar 5 09:37:43 CST 2020


Hi Gabriel,

On 02.03.2020 14:38, Gabriel Ivăncescu wrote:
> Signed-off-by: Gabriel Ivăncescu<gabrielopcode at gmail.com>
> ---
>   dlls/jscript/engine.c   | 21 +++++++++++++++++----
>   dlls/jscript/engine.h   |  1 +
>   dlls/jscript/function.c |  4 +---
>   dlls/jscript/jscript.c  | 10 ----------
>   dlls/jscript/jscript.h  |  2 --
>   5 files changed, 19 insertions(+), 19 deletions(-)


How about storing this as NULL for global code and then do the lookup in 
interp_this() when this_obj is NULL?


Thanks,

Jacek




More information about the wine-devel mailing list