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
huoqingyi
3f88728fa9
add loop_begin blocks to bytecode_circuit_builder
...
Change-Id: I214016bf617f16a1cac4157612d595852c0d88a7
Signed-off-by: huoqingyi <huoqingyi@huawei.com >
2022-05-16 22:57:05 +08:00
openharmony_ci
500cba7c1a
!1307 Modify Asm TDD Test and Asm Inter Options
...
Merge pull request !1307 from 李晨帅/master
2022-05-16 12:37:47 +00:00
lichenshuai
8815ea02a4
Modify Asm TDD Test and Asm Inter Options
...
Run moduletest both in C interpreter and asm interpreter.
Change asm inter options to --asmInter=true/false.
Issue: #I57B6W
Signed-off-by: lichenshuai <lichenshuai@huawei.com >
Change-Id: I054c1dbd9edd389e25316c66d7a7311cd3be2920
2022-05-16 18:53:24 +08:00
openharmony_ci
2775124afc
!1301 AOT Lowering Test
...
Merge pull request !1301 from Hailiang/aot_test
2022-05-16 08:52:44 +00:00
Hailiang Hu
dbe07988b5
AOT Lowering Test
...
Add test for calls, closeiterator, getpropiterator,
definefunc_variable_args, getunmappedargs, and so on.
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I57FWN
Signed-off-by: Hailiang Hu <allenpas@huawei.com >
Change-Id: If09405c23c62674f950a84696d05e57d3410d2cc
2022-05-16 16:13:24 +08:00
openharmony_ci
b1771d6fae
!1298 AOT Lowering bug fix for DefineClassWithBuffer
...
Merge pull request !1298 from Hailiang/aot_lowering
2022-05-16 07:55:22 +00:00
Hailiang Hu
ae1b67c849
AOT Lowering bug fix for DefineClassWithBuffer
...
Remove ResolvClass, instead of using CloneClassFromTemplate to resolve.
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I57EOV
Signed-off-by: Hailiang Hu <allenpas@huawei.com >
Change-Id: I57f846a02d8c6fcef6215e03fa5abea961329f20
2022-05-16 15:10:21 +08:00
huoqingyi
109ffbc3f6
add TS AOT test
...
Change-Id: If34d759412a9419edcb7838e9697b57fc4ec36d8
Signed-off-by: huoqingyi <huoqingyi@huawei.com >
2022-05-16 08:30:50 +08:00
lijincheng
08724b89e6
Add Aot Test Case
...
1.Add Aot test cases for 17 bytecodes:
CREATEARRAYWITHBUFFER_PREF_IMM16, CREATEOBJECTWITHBUFFER_PREF_IMM16
CREATEREGEXPWITHLITERAL_PREF_ID32_IMM8, DEFINEASYNCFUNC_PREF_ID16_IMM16_V8
DEFINEGENERATORFUNC_PREF_ID16_IMM16_V8, GETNEXTPROPNAME_PREF_V8
GETTEMPLATEOBJECT_PREF_V8, LDLEXVARDYN_PREF_IMM4_IMM4, LDLEXVARDYN_PREF_IMM8_IMM8
LDLEXVARDYN_PREF_IMM16_IMM16, STLEXVARDYN_PREF_IMM4_IMM4_V8, STLEXVARDYN_PREF_IMM8_IMM8_V8
STLEXVARDYN_PREF_IMM16_IMM16_V8, SETOBJECTWITHPROTO_PREF_V8_V8, STOWNBYINDEX_PREF_V8_IMM32
STOWNBYNAME_PREF_ID32_V8, STOWNBYVALUE_PREF_V8_V8
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I573OV
Signed-off-by: lijincheng <lijincheng13@huawei.com >
2022-05-13 14:25:44 +08:00
openharmony_ci
8f9c967ce5
!1280 test ldobjbyname && add aot case
...
Merge pull request !1280 from hongtao/lastaotcase
2022-05-13 05:10:07 +00:00
openharmony_ci
c8ac8c7fff
!1274 Add Asm TDD test
...
Merge pull request !1274 from 李晨帅/master
2022-05-13 03:19:44 +00:00
taohong
3bd036bcf5
add slow path test cases
...
Signed-off-by: taohong <hongtao11@huawei.com >
Change-Id: I4a3b3f181f0f92e5bae56ab9ff3fd0dd480c84ec
2022-05-13 10:14:16 +08:00
luochuhao
1a370607c9
Delete duplicated co stub generation and related conditional code.
...
Adapt call.S to current EcmaRuntimeCallInfo change.
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I56JF1
Signed-off-by: luochuhao <luochuhao@huawei.com >
Change-Id: I117c6b088a82b15c2afcb18b4a74f47bfd705545
2022-05-12 17:24:57 +08:00
lichenshuai
2dd5e2c655
Add Asm TDD Test
...
Add asm TDD test to ark_js_host_unittest in case asm compiler crashs.
Issue: #I5746G
Signed-off-by: lichenshuai <lichenshuai@huawei.com >
Change-Id: I7d85372829cd55e6a22a399667251e430c5aa804
2022-05-12 16:05:33 +08:00
openharmony_ci
cf4402e969
!1221 modify annotation of InterpretedFrame
...
Merge pull request !1221 from guobingbing/master
2022-05-12 07:47:07 +00:00
guobingbing
d8699d3ab9
modify annotation of InterpretedFrame
...
Signed-off-by: guobingbing <guobingbing3@huawei.com >
Change-Id: I1deb88080eb89e27252629d8501005d49fe76adf
2022-05-12 10:22:18 +08:00
haotuo
ce8509bd43
add aottests for definegettersetterbyvalue/stobjbyvalue/stobjbyindex/ldobjbyvalue/ldobjbyindex
...
Signed-off-by: haotuo <haotuo@huawei.com >
Change-Id: I72d9eb08da42a11a962e1e36d4b9e0941338dfce
2022-05-11 22:47:41 +08:00
ding
8358c88dda
Prebuild com_sub.m and bc_stub.m
...
Generate com_stub.m and bc_stub.m in build phase.
Add FATAL log if load stub file failed.
Move run_ark_executable.py to js_runtime/script/ directory
Add --time-out option in run_ark_executable.py.
Signed-off-by: ding <dingding5@huawei.com >
Change-Id: I6136c5f0dc132a086119f9f2cc6eaf934ba0087b
2022-05-10 09:56:40 +08:00
openharmony_ci
94bf56d64b
!1230 fix part of the use case problem
...
Merge pull request !1230 from wanyanglan/master
2022-05-09 04:09:17 +00:00
wanyanglan
404fc3fb09
fix part of the use case problem
...
1. AssemblerStubTest adapts to the latest llvm library
2. Fix aottest failure in heapverify open state
3. Shield createemptyarray, definefunc use cases.
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I56AKK
Signed-off-by: wanyanglan <wanyanglan1@huawei.com >
Change-Id: Id8836d378832a68a3a17105809f2f4710918fc3a
2022-05-08 22:50:59 +08:00
Hailiang Hu
f532af41e1
AOT Lowering bug fix for newlexenv and poplexenv
...
1. Add SetCurrentLabel on build loop to fix newlexenv and poplexenv test compile.
2. Add value input on CallRuntime to fix throwundefindeifhole lowering.
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I56BND
Signed-off-by: Hailiang Hu <allenpas@huawei.com >
Change-Id: I5a4e9e026b86038153212bc6fa97cad8a54fbaea
2022-05-07 21:16:07 +08:00
lijincheng
e328dded9f
Add Aot Lowering CopyRestArgs
...
1.Add aot lowering for bytecode: COPYRESTARGS_PREF_IMM16
2.Add test case fot bytecode: COPYRESTARGS_PREF_IMM16
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I55UH1
Signed-off-by: lijincheng <lijincheng13@huawei.com >
2022-05-06 20:57:28 +08:00
openharmony_ci
14f2d5e145
!1218 fix aot test fail
...
Merge pull request !1218 from changcheng/fix_ut_error
2022-05-06 08:22:46 +00:00
wengchangcheng
b097c693dd
Descriptor: fix aot test fail
...
details: modify aot action name
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I561VY
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I391c047ac17ef06823c376df0dc0a97a538ee887
2022-05-06 15:47:39 +08:00
wanyanglan
290f0d3844
Replace x64 call.S with x64 assembler
...
Replace JSFunctionEntry, OptimizedCallOptimized, CallNativeTrampoline,
OptimizedCallRuntime, JSCall, JSCallWithArgV assembly functions with
x86 assembler
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I55O8Y
Signed-off-by: wanyanglan <wanyanglan1@huawei.com >
Change-Id: I1970a5bfd032530ad791b5c91b96d35f7be9ac14
2022-05-06 14:10:27 +08:00
openharmony_ci
32c084d7b0
!1208 modify gn args and debugger test
...
Merge pull request !1208 from changcheng/debugger_modify
2022-05-06 03:34:39 +00:00
wengchangcheng
788a51ede5
Descriptor: fix debug test error
...
details: generate stub file in target_out_dir
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I55Y4K
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: Iedf6101f24935936d5a17e4bf19d52fed5fa75a2
2022-05-05 23:51:22 +08:00
wengchangcheng
dcac52ac03
Descriptor:fix ut fail and modify debugger test
...
details:
1. fix icu path error
2. modify debugger unittest
3. modify gn target
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I55WGN
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I1c924fd90297a5172ca5aabace36b6e250dc312b
2022-05-05 20:49:16 +08:00
Hailiang Hu
36fba2f7ee
AOT Lowering bug fix for getiterator
...
1. Update depend after CallRuntime to fix RunStateGatesCheck.
2. Remove fast path at ThrowIfNotObject to fix RunStateGatesCheck.
Issue: #I55UCM
Signed-off-by: Hailiang Hu <allenpas@huawei.com >
Change-Id: Id5730022e7f0a5e6c09ffe25b26d1b2a6fb89154
2022-05-05 15:17:48 +08:00
Hailiang Hu
d8fc2948e4
AOT Lowering Test
...
1. Test BC of createiterresultobj, getiterator, instanceof,
isin, newlexenv, poplexenv, suspendgenerator, typeof,
throwifsupernotcorrectcall, throwundefindeifhole.
2. Update test framework to support com stub, debug mode and log mode.
Issue: #I55HDG
Change-Id: I68670978916da5a12e2d7b8abb59f636ac7c8250
Signed-off-by: Hailiang Hu <allenpas@huawei.com >
2022-04-30 21:13:14 +08:00
xujie
2590ccc603
Add TS Aot Test Cases And Bugfix
...
1. Add test cases for add, inc, dec, typeof, strictequal, strictnotequal,
delobjprop, stobjbyname instructions.
2. fix GC bug and getunmappedargs trampolinefunction bug.
3. Uniform variable decoration style.
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I54K1R
Signed-off-by: xujie <xujie101@huawei.com >
Change-Id: Ibd99496c01f3c2e38258585ff08384c37f786deb
2022-04-29 14:16:04 +08:00
openharmony_ci
4002b645a0
!1140 bc lowering add case
...
Merge pull request !1140 from songzhengchao/code0426
2022-04-29 05:20:26 +00:00
songzhengchao
9dd88414c1
BC Lowering test
...
bc: LDFUNCTION_PREF、STSUPERBYVALUE_PREF_V8_V8、LDSUPERBYVALUE_PREF_V8_V8、STCONSTTOGLOBALRECORD_PREF_ID32、STGLOBALVAR_PREF_ID32、DIV2DYN_PREF_V8
MOD2DYN_PREF_V8
EQDYN_PREF_V8
NOTEQDYN_PREF_V8
LESSDYN_PREF_V8
LESSEQDYN_PREF_V8
GREATERDYN_PREF_V8
GREATEREQDYN_PREF_V8
MUL2DYN_PREF_V8
SUB2DYN_PREF_V8
add bc lowering test
isssue:https://gitee.com/openharmony/ark_js_runtime/issues/I553HC?from=project-issue
Signed-off-by: songzhengchao <songzhengchao@huawei.com >
Change-Id: Ibf7a1be6212e12ac81db2c30a0f687d92dee3b6f
2022-04-29 09:25:12 +08:00
wengchangcheng
6c1d459845
Descriptor: print more error message when ut fail
...
details: print both out messgae and err message
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I558VS
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: Ie7aaf243707ad210e23537a82ed404cd1f602e7b
2022-04-28 20:15:55 +08:00
lijincheng
da747b6123
Aot Test Case and Fix bugs in Lowering
...
1.Add aot test case: CreateEmptyArray and CreateEmptyObject and add them to Aot UT-Test.
2.fix "thisobj and input args" bug of callIThisRangeDyn.
3.Update LowerLdGlobalVar and LowerLdObjByName in lowering.
4.fix "callruntime" bug in lowering of LowerStObjByIndex.
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I550RE
Signed-off-by: lijincheng <lijincheng13@huawei.com >
2022-04-28 14:15:11 +08:00
xiongluo
d8b0be85b3
refactor the uint fileds in jsmethod
...
1. make bytecodeArraySize, hotnessCounter, methodId, slotSize into one field methodField.
2. change the interpreter_stub to fit the hotness counter in jsmethod.
3. fix the fail problem of mem controller test.
4. Adjust the timeout value of uinittest
Signed-off-by: xiongluo <xiongluo@huawei.com >
2022-04-27 02:43:40 -10:00
taohong
d1bd1c9d29
test ldglobalvar && stlettoglobalrecord
...
Signed-off-by: taohong <hongtao11@huawei.com >
Change-Id: Iaab862583e6ba5505b0c87665292f410d53905f4
2022-04-27 16:12:05 +08:00
ding
0d1ed34b37
Bypass the false code defect check
...
There is a false code defect check in run_ark_executable.py, bypass it.
Issue:https://gitee.com/openharmony/ark_js_runtime/issues/I54PVY
Signed-off-by: ding <dingding5@huawei.com >
Change-Id: If1b0c3a5fd709fba993067c324fa0a4f0ea89bf4
2022-04-26 11:22:03 +08:00
openharmony_ci
d3db943499
!1052 Add and Enable Aot test framework
...
Merge pull request !1052 from dingding/add_aot_test
2022-04-25 15:16:21 +00:00