openharmony_ci
f00d33e9c8
!1529 Add Type Infer Test Case
...
Merge pull request !1529 from huoqingyi/typeinfertests
2022-06-13 07:09:09 +00:00
luochuhao
d8e482f756
Modify enable logic of certain runtime options.
...
Change condtion for File execution branch to whether file is AOT compiled or not.
Fix bug of setting bc debug handler entry while loading stub file.
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5BBFH
Signed-off-by: luochuhao <luochuhao@huawei.com >
Change-Id: I5b6d47a1587631849f6c1e746473cb14b1d727a8
2022-06-13 12:15:03 +08:00
huoqingyi
1da170f1bd
Add Type Infer Test Case
...
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
2022-06-13 09:38:51 +08:00
xujie
6430e8f31e
TSAOT Exception Handler
...
1. Throw JS exception in tsaot
2. Print bcoffset when occur JS exception
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5AMHL
Signed-off-by: xujie <xujie101@huawei.com >
Change-Id: I046d76c092a399354ddcdedd859f0c1e622387c2
2022-06-11 16:36:16 +08:00
openharmony_ci
a6f3b2b8a6
!1177 Require function realization
...
Merge pull request !1177 from DaiHN/require
2022-06-09 12:51:21 +00:00
DaiH
eee606c334
Support CommonJS's module export function
...
------------------------------------------
1. Support CommonJS's module export function
2. Related test cases
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5590V
Signed-off-by: DaiH <daihuina1@huawei.com >
Change-Id: I18968f6a6b971fbe833d91ef98813964cc8292c9
2022-06-08 10:59:06 +08:00
openharmony_ci
cabfe1a62e
!1345 Implement Prologue refactor and Add mulitple Optimized Frame In LLVM 12.0.1
...
Merge pull request !1345 from songzhengchao/optimizedjsfunction
2022-06-07 13:49:24 +00:00
openharmony_ci
cf6cb22c00
!1511 add type infer test framework && test case
...
Merge pull request !1511 from hongtao/typeinfertest
2022-06-07 07:32:53 +00:00
songzhengchao
e189c888a0
Merge remote-tracking branch 'szc/optimizedjsfunction'
...
Change-Id: I3451ce3ba039c43f4cebedbc6d5636bbf70d234c
2022-06-07 14:22:34 +08:00
taohong
af9bec981f
add type infer test case
...
add test case for AOT type infer
Signed-off-by: taohong <hongtao11@huawei.com >
Change-Id: Iff28cc77d3f309699000f76d1ed30191176a4d85
2022-06-07 12:15:43 +08:00
hjzhangcm
29aaba60ba
describe:fix 262 script
...
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5AZHA
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com >
2022-06-07 09:58:11 +08:00
openharmony_ci
a733eece5c
!1502 add unittest case for WeakRef and FinalizationRegistry
...
Merge pull request !1502 from 小马奔腾/master
2022-06-06 09:29:22 +00:00
xdmal
09abe19b06
add unittest case for WeakRef and FinalizationRegistry
...
add unittest case for WeakRef and FinalizationRegistry
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5AL8K
Signed-off-by: xdmal <maxiaodong16@huawei.com >
2022-06-06 12:58:35 +08:00
hjzhangcm
1e34ab391f
Modify script directory
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com >
2022-06-06 10:02:30 +08:00
openharmony_ci
7048cbf1ef
!1409 Add Containers List And LinkedList
...
Merge pull request !1409 from chenqi/list1
2022-06-05 04:05:38 +00:00
songzhengchao
69ac5a27a9
Implement Prologue refactor and Add mulitple Optimized Frame In LLVM 12.0.1
...
1 refactor prologue reserve dynamic slots which is setted by LLVM IR
2 callsiteSp is calculated by current function's callee saved registers size
3 and Add mulitple Optimized Frame:
OPTIMIZED_JS_FUNCTION_FRAME:argv[n-1],..., argv[0], argc, ...., returnaddr, Fp, type. this frame need to visit args and stackmap.
OPTIMIZED_ASM_FRAME: jscall/jsentry construct frame which is implemented by assemble, this frame is only link to previou frame, it don't need to visit args and stackmap
4 stackmap support parse const pool and llvm patch add deopt interface LLVMBuildCall3
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5AJ9U
Signed-off-by: songzhengchao <songzhengchao@huawei.com >
Change-Id: Ie6a0067169805cc6043ea94936dd578489b56c7b
2022-06-03 15:51:19 +08:00
openharmony_ci
33c2569bab
!1488 fix 262 script
...
Merge pull request !1488 from hjzhangcm/master
2022-06-02 10:34:53 +00:00
hjzhangcm
f288f606d0
Modify compilation script
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com >
2022-06-02 17:38:39 +08:00
chenqi
666eb6b8bd
Add Containers List And LinkedList
...
Description
1.To ensure the high performance of container classes, List and LinkedList is provided in ark.
2.modify Copyright 2021->2022.
3.fix containers.
Related issue
#I58XA9:Add Containers List And LinkedList.
Signed-off-by: chenqi <chenqi151@huawei.com >
2022-06-02 17:02:40 +08:00
wengchangcheng
419394270f
Descriptor: fix proxy bug
...
details:SetMethod always is nullptr, set right method: CallJsProxy
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5AIBR
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: Ia0fa992d302b9183a20faafeffbfce31f01cd072
2022-06-02 11:52:38 +08:00
openharmony_ci
7e3af05fb1
!1442 Add WeakRef and FinalizationRegistry interfaces
...
Merge pull request !1442 from 小马奔腾/master
2022-06-01 15:07:08 +00:00
xdmal
a4062881d1
Add WeakRef and FinalizationRegistry interfaces
...
Add WeakRef and FinalizationRegistry interfaces
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I57W11
Signed-off-by: xdmal <maxiaodong16@huawei.com >
2022-06-01 20:59:20 +08:00
xujie
ed27a1b816
Remove Ts2abc Debug Option For Aot Unit Tests
...
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5AB0W
Signed-off-by: xujie <xujie101@huawei.com >
Change-Id: Ibccca2805a509578b572183847733186d26ec728
2022-06-01 10:40:40 +08:00
openharmony_ci
f17c1d64c2
!1459 Circuit IR optimizer frameworks
...
Merge pull request !1459 from Mingliang Zeng/master
2022-05-31 07:29:39 +00:00
Mingliang Zeng
e419729e6c
https://gitee.com/openharmony/ark_js_runtime/issues/I59TAQ
...
Circuit IR optimizer frameworks:
1. Lattice equations system solver framework
2. Subgraph rewrite framework
Signed-off-by: Mingliang Zeng <zengmingliang1@huawei.com >
Change-Id: I05e97c8b34be46d5689798ec24423228c8e14bee
2022-05-31 10:54:59 +08:00
openharmony_ci
b5da11304d
!1467 TSAOT Lowering update test case
...
Merge pull request !1467 from Hailiang/aot_lowering
2022-05-30 13:08:22 +00:00
Hailiang Hu
7c408f737d
TSAOT Lowering update test cases
...
Update test cases: ldbigint, newobjspread, suspendgenerator_branch and so on.
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5A1V2
Signed-off-by: Hailiang Hu <allenpas@huawei.com >
Change-Id: I6ece6b48c58577530865204ce04e3793ec2d911d
2022-05-30 19:49:06 +08:00
getingke
8ee98b8913
fixed for some bug with assembler aarch64
...
Signed-off-by: getingke <getingke@huawei.com >
Change-Id: Iec3c66af64f2b017b76063eafcaf9a268ed6505d
2022-05-30 16:23:35 +08:00
luochuhao
7522f51989
Add multi-abc-file support in stub compiler and aot compiler and related adaptation.
...
Use methodId of func in pandafile as index for each aot func in llvmModule.
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I598P5
Signed-off-by: luochuhao <luochuhao@huawei.com >
Change-Id: I9646d6a80c8138744ebbd617837550b4661f27d3
2022-05-29 16:59:27 +08:00
lichenshuai
bc57e682ca
Fix TDD containerAsmAction
...
Fix IsSpecialContainer stub and message string.
Issue: #I58XTL
Signed-off-by: lichenshuai <lichenshuai@huawei.com >
Change-Id: I6c6fadd0bbb1f6bfe7c1f8ce6cebf1d35621689c
2022-05-24 16:34:34 +08:00
openharmony_ci
0b5e0e6aa6
!1395 Add Container Vector
...
Merge pull request !1395 from shisan_forwork/push_vector
2022-05-23 14:57:23 +00:00
shisan_forwork
5adb25b225
Add Container Vector
...
Description
To ensure the high performance of container classes, vector is
provided in ark.
Related issue
#I4XCD9:add container vector
Signed-off-by: shisan_forwork <chengjunxiong@huawei.com >
2022-05-23 20:40:25 +08:00
openharmony_ci
953ccff76e
!1387 Fix Aot stownbynamewithnameset,stownbyvaluewithnameset Case log
...
Merge pull request !1387 from wanyanglan/master
2022-05-23 12:18:21 +00:00
wanyanglan
cf1d64253b
Fix Aot stownbynamewithnameset,stownbyvaluewithnameset Case log
...
1. Proper construction of circuit IR diagram
2. The method names of anonymous functions are not stripped of the "#" string.
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I58P5O
Signed-off-by: wanyanglan <wanyanglan1@huawei.com >
Change-Id: Ic1406d293c669386b5456b16cd62991ad4ea6c22
2022-05-23 15:31:49 +08:00
lichenshuai
a9fae25963
Fix TDD yieldstarAsmAction debug
...
LeaveFrame is set in the frame chain when GeneratorReEnterInterpreter().
Issue: #I58L31
Signed-off-by: lichenshuai <lichenshuai@huawei.com >
Change-Id: Iefe795fa255419eced137fb67da877924854f04a
2022-05-23 09:19:14 +08:00
xliu
2b281975ea
Js TypeArray optimization
...
Description
1. Add number check in CanonicalNumericIndexString;
2. modif GetProperty, SetProperty, DeleteProperty,
DefineOwnProperty,GetOwnProperty,HasProperty
3. Add FastPath in TypeArray.
4. Refactor TypeArray ArrayLength, ByteOffset, ByteLength
5. Add test for TypeArray.
Issue:
#I56S75:Js TypeArray optimization
Signed-off-by: xliu <liuxin259@huawei.com >
Change-Id: I68dd973269eb0bab284e7b97e0b8bf93e5aee1a2
2022-05-21 18:15:02 +08:00
openharmony_ci
6812726dd6
!1371 Fix ark_asm_test debug
...
Merge pull request !1371 from 李晨帅/master
2022-05-21 05:49:06 +00:00
lichenshuai
09568222be
Fix ark_asm_test debug
...
Some TDD tests in ark_asm_test (e.g. asyncAsmAction) will fail in debug mode. This needs to be fixed.
Issue: #I58ESB
Signed-off-by: lichenshuai <lichenshuai@huawei.com >
Change-Id: Iaf533876f8e69eef9695306bb295065eeb17bfba
2022-05-20 16:50:24 +08:00
wangjiahui
26072e99ae
Add use case information
...
Signed-off-by: wangjiahui <wangjiahui27@huawei.com >
2022-05-20 16:40:05 +08:00
openharmony_ci
b29b822f58
!1353 fix bugs and add ts aot tests
...
Merge pull request !1353 from huoqingyi/slowlowering
2022-05-19 01:40:42 +00:00
huoqingyi
007856c303
add aot test
...
Change-Id: I96638a944dad910a5c3973d1408eeb78dc04ea2f
Signed-off-by: huoqingyi <huoqingyi@huawei.com >
2022-05-19 08:11:57 +08:00
openharmony_ci
31ec8e87dd
!1313 Add regExp.matchAll interface and symbol.matchAll and regExp iterator related functions
...
Merge pull request !1313 from 王犇/master
2022-05-18 11:04:47 +00:00
wangben
0ae45e4df7
Add regExp.matchAll interface and symbol.matchAll and regExp iterator related functions
...
Signed-off-by: wangben <wangben15@huawei.com >
2022-05-18 18:02:39 +08:00
openharmony_ci
19e0235ef0
!1344 Add aot test DefineNCFunction, DefineMethod
...
Merge pull request !1344 from dingding/add_aot_test
2022-05-18 03:54:32 +00:00
openharmony_ci
e0e17a8109
!1335 Fix asyncAsmAction TDD
...
Merge pull request !1335 from 李晨帅/master
2022-05-17 13:14:28 +00:00
openharmony_ci
c0f4b341c9
!1339 Fix run TSTypeTest fail on RK3568 and Snapshot bug
...
Merge pull request !1339 from dingwen/master
2022-05-17 12:02:10 +00:00
ding
1d54197c2f
Add aot test DefineNCFunction, DefineMethod
...
Add DefineNCFunction, DefineMethod aot testcase.
Not enable due to there is a problem in lexical env.
Signed-off-by: ding <dingding5@huawei.com >
Change-Id: I5f1e5afef8ddb60ef3fbec94a250d051324fc4de
2022-05-17 19:53:55 +08:00
dingwen
dfe294871d
Fix run TSTypeTest fail on RK3568 and snapshot bug
...
Description:1.Add target in ohos_test.xml 2.Fix deserialize empty string
bug
ISSUE:https://gitee.com/openharmony/ark_js_runtime/issues/I57UBX
Signed-off-by: dingwen <dingwen6@huawei.com >
Change-Id: I00b980f53fdfa9ab9cf00b566aaa65dc3744f1b7
2022-05-17 19:24:15 +08:00
ding
36a1c21412
Fix aot newobjdynrange, Add relevant testcase, Some aot Refactor
...
1.Fix aot newobjdynrange by call JSFunction::Construct.
2.Add native new test case(new non-native constructor depends on
`defineclass`).
3.Add StackAssertScope in debug mode.
4.Delete retired `call` code in runtime_stubs.
5.Refactor GetArg from macros to inline function in RuntimeStubs.
Signed-off-by: ding <dingding5@huawei.com >
Change-Id: Ic89b98af11f2e2fc97aaeba1704d27a95d2c0c7b
2022-05-17 15:49:53 +08:00
lichenshuai
cc9a22605c
Fix asyncAsmAction TDD
...
The TDD asyncAsmAction will fail when run. It needs to be fixed.
Issue: #I57UY6
Signed-off-by: lichenshuai <lichenshuai@huawei.com >
Change-Id: Ie80755f9bc13d4fe1dd83d413ac71323c753b7f7
2022-05-17 15:41:23 +08:00