Gabriel Ivăncescu : jscript: Store NULL disps as a different type of jsval_null.
Module: wine Branch: master Commit: f6dc431af56aeb9bcd69108cc7510a142e59035e URL: https://source.winehq.org/git/wine.git/?a=commit;h=f6dc431af56aeb9bcd69108cc... Author: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> Date: Thu Mar 24 17:31:06 2022 +0200 jscript: Store NULL disps as a different type of jsval_null. This makes sure that object instances are always non-NULL and gets rid of all such checks. Signed-off-by: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> Signed-off-by: Jacek Caban <jacek(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/jscript/array.c | 13 ++++++------ dlls/jscript/dispex.c | 8 ++++---- dlls/jscript/engine.c | 31 ++++++++++------------------- dlls/jscript/function.c | 13 +++++++----- dlls/jscript/json.c | 11 ++++++----- dlls/jscript/jsutils.c | 49 ++++++++++++++++++++-------------------------- dlls/jscript/jsval.h | 13 ++++++++++-- dlls/jscript/object.c | 25 +++++++++++++---------- dlls/jscript/set.c | 2 +- dlls/jscript/tests/api.js | 8 ++++++++ dlls/jscript/tests/lang.js | 2 ++ 11 files changed, 93 insertions(+), 82 deletions(-) Diff: https://source.winehq.org/git/wine.git/?a=commitdiff;h=f6dc431af56aeb9bcd691...
participants (1)
-
Alexandre Julliard