1.Support new Builtins Constructor in Builtins Stub framework.
2.Support invoking Builtins Stub both ASM interpreter and AOT.
3.Add BooleanCosntructor implementation in Builtins Stub.
4.Add new log component: builtins
5.Add corresponding test case which can trace builtins execution path.
6.Add iterate stack map handler when entering by assembler.
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I631G9
Signed-off-by: ding <dingding5@huawei.com>
Change-Id: Ie3a485a0383464ecc0b42be0a21baf50bb35bc21
Details:
1. Add quickfix testcases
2. delete isPatch flag
3. use the same recore name of base and patch
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5UPMC
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I1e03addb8f37240557df899fbee8bc99beb97e92
Description:
Currently the typeinfer test compares the gatetypes of gates with the expected types
by printing the bytecode name log and gatetype log. In order to pass the tests,
it relies on front end keeping the functions and bytecodes' order unchanged.
This is inappropriate and does not adapt to the increasing optimization of the front end.
Therefore, We need to take a more appropriate solution.
We plan to compare gatetypes of gates in Circuit IR and expected types at compile time.
Issue:
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5HSKP
Change-Id: Id62a39ec0fc2327ede4e3ee1e770bc65bfc891d4
Signed-off-by: huoqingyi <huoqingyi@huawei.com>
desc: stub.m binary file compiled into shared library
solu:
1. ark_stub_compiler executable not depend libark_jsruntime.so and libark_jsoptimizer.so, but depend libark_jsruntime_set and libark_jsoptimizer_set
2. python shell read stub.m binary data, and save to extern array of stub_m.cpp;
3. file_loader.cpp read stub data from array of stub_m.cpp.
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5E4LW
Signed-off-by: wanghuan <wanghuan80@huawei.com>
Change-Id: I9c95c882b59438370523179dd5949aeca51faa10
Description:
1.Add type infer test cases for bitwise_op, callfunctions, ldobjbyvalue and logic_op
Issue:
https://gitee.com/openharmony/ark_js_runtime/issues/I5B78L
Signed-off-by: huoqingyi <huoqingyi@huawei.com>
Change-Id: I486f6f91a32e1c7caa2446b12b8e6b33db8d47fe
1.Re-write union type mechanism, store gt in components.
2.Refactor module tabale, now builtins type table and global infer table set in fixed index of 0 and 1.
3.Integrate some interfaces and logic.
Signed-off-by: ding <dingding5@huawei.com>
Change-Id: Ie709705798b21206f1f272fc5cacafb3781ed940