js: fix 'teq' for 'js object' which is a return value of an function call(),
authoryu.dongliang <18588496441@163.com>
Wed, 5 Nov 2025 06:39:21 +0000 (14:39 +0800)
committeryu.dongliang <18588496441@163.com>
Wed, 5 Nov 2025 06:39:30 +0000 (14:39 +0800)
commit950141bc7e672be06e88fb842f4beb1c5b894ff9
treee2609ee5490d43cdac035759a841dc064a6cbc19
parent8582f47b698cac5d11a55ee11062351edd475b69
js: fix 'teq' for 'js object' which is a return value of an function call(),
for source code as 'if (obj)', 'if (!obj)', or 'if (Boolean(0))', etc.
16 files changed:
examples/js.html
html/Makefile
js/core/scf_dag.c
js/core/scf_operator_dag.c
js/core/scf_optimizer.c
js/core/scf_optimizer_auto_gc.c
js/core/scf_optimizer_auto_gc_find.c
js/core/scf_optimizer_inline.c
js/core/scf_optimizer_js_teq.c [new file with mode: 0644]
js/core/scf_optimizer_split_call.c
js/core/scf_variable.c
js/core/scf_variable.h
js/doc.c
js/parse/scf_dfa_var.c
js/parse/scf_parse.c
ui/Makefile