Commit Graph

22 Commits

Author SHA1 Message Date
openharmony_ci
dce64226bc
!4406 THROW_TYPE_ERROR_AND_RETURN Part 3
Merge pull request !4406 from 王笑佳/throwtype3
2023-07-15 08:19:15 +00:00
hwx1163501
649571a2b3 Fix throw excecption
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7L0AC
2023-07-14 16:48:09 +08:00
王笑佳
b48718a73a Fix THROW_TYPE_ERROR_AND_RETURN Part 3
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7K5YC

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-07-14 16:16:09 +08:00
zhangyukun
06c6451611 Optimize LocaleCompare for AOT
1. Add caches for locales
2. Add fastpath for locale string compare
3. Add pgo for bound function
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7F6ZW?from=project-issue
Signed-off-by: zhangyukun <zhangyukun8@huawei.com>

Change-Id: I869ec1a41eaaf7098627277a5ec9b3ce7a245dc4
2023-06-26 15:43:44 +08:00
openharmony_ci
8ec543580e
!4247 Fix fault message prompts for intl data sources
Merge pull request !4247 from zhujie/master
2023-06-16 02:26:05 +00:00
zhujie
7dbd05348a Fix fault message prompts for intl data sources
modify createinstance function

https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7DINJ

Signed-off-by: zhujie <zhujie81@huawei.com>
2023-06-15 09:24:04 +08:00
xiongluo
e0a80d811f fix code check and format
Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: I222befc3ea02049f7f97f932a641753533dd8d52
2023-06-11 16:18:18 +08:00
liu-qiang12
4443a8a95d add listnode and icu
Signed-off-by: liu-qiang12 <liuqiang254@huawei.com>
https: //gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6UHGV
Change-Id: I705e82670483f784d997425c64282e425994849d
2023-06-11 16:17:47 +08:00
zhujie81
1457b8d407 ix file formatting and locale "resize" function
Update the class code

https://gitee.com/zhujie81/arkcompiler_ets_runtime/issues/I6N6Y1

Signed-off-by: zhujie81 <zhujie81@huawei.com>
2023-03-16 11:08:00 +08:00
zhujie81
4f1af05245 Internationalized module isolation scheme (function isolation)
Isolation intl function code

https://e.gitee.com/open_harmony/dashboard?issue=I6F2WR

Signed-off-by: zhujie81 <zhujie81@huawei.com>
2023-03-13 14:52:07 +08:00
Zhenyu Pan
24b217ca04 Extract ICU locale relevant processing from JSLocale
Issue:Extract ICU locale relevant processing from JSLocale

Signed-off-by: Zhenyu Pan <panzhenyu1@huawei.com>
Change-Id: I796890fa7999d8ec9c40646fc3fe899bc439f12f
2022-12-30 15:34:34 +08:00
Zhenyu Pan
1f0a779e07 Add fast path for Number/BigInt/String's locale sensitive API
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I639LQ

Signed-off-by: Zhenyu Pan <panzhenyu1@huawei.com>
Change-Id: I7bf7276f723c1ee66a582280110ade49e6ec5570
2022-12-02 17:00:12 +08:00
linxiang
31dbc9a4e3 add log fatal before unreachable
Signed-off-by: linxiang <linxiang8@huawei.com>
Change-Id: I272f5c052e58a1067528893d857dbd460e2d4d86
2022-12-01 16:30:13 +08:00
quiet-thought
7e6984c0f3 optimize ToLocalLowerCase and ToLocaleUpperCase
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I624TN

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I9a355d8f063267c720b72c9d78275439635bce8b
2022-11-29 17:14:19 +08:00
linxiang
1e4b7c9dc6 fix issue: return JSTaggedValue::Exception to JS-World, which cause 0xa problem
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5MF7J

Signed-off-by: linxiang <linxiang8@huawei.com>
Change-Id: Ic004e99bb1b0b604dcb77176340c349845d94f3e
2022-08-15 22:37:14 +08:00
linxiang
4a082f4f0b use full-path for all headers.
Signed-off-by: linxiang <linxiang8@huawei.com>
Change-Id: I20b5cf6245799839362b1999d3d9fb6955bf609a
2022-07-25 20:32:55 +08:00
DaiH
999d810736 Reuse of Object.Create()'s hclass
-----------------------------------
Reuse of Object.Create()'s hclass
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5C3BI?from=project-issue

Signed-off-by: DaiH <daihuina1@huawei.com>
Change-Id: I7c0aa4f4f92dc38dd0a11a106436f9d100b77f32
2022-06-13 22:05:01 +08:00
luochuhao
905d0496dc Refactor ID definition and callSignature initialization mechanism of stubs
Refactor ID definition and callSignature initialization mechanism of runtime stub,
optimizer stub and bytecode handler stub,
reduce amount and complexity of macro used in calling those stubs.

Add stubDes struct to classify stubs both in AOT file generation phase
and AOT file loading phase.

Fix some circular dependency problems in including header files.

Fix certain inline function declaration and definition format problems, which could lead to
compiling errors.

Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I4VMLD?from=project-issue
Test: stubTest(unit test), richards with asm interpreter enabled
Signed-off-by: luochuhao <luochuhao@huawei.com>
Change-Id: Ibd5fcd963347b97f8dec227f3245d2064463b0b0
2022-03-18 22:01:52 +08:00
wengchangcheng
a6b1b4836f fix jspandafile of framework file and aot info
1. delete unused logic of framework pandafile
2. refactor native pointer callback
3. fix bug of generate aot info

https://gitee.com/openharmony/ark_js_runtime/issues/I4VSSL

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I3ba318a0bc2c0e95afff6473ff106bc8b5c9dfe4
2022-03-04 15:29:27 +08:00
wengchangcheng
9a907ba3c3 optimize primitive type ACCESSORS
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
2022-01-25 18:05:12 +08:00
zhangyukun
a97747fe18 Description:sync from code from wgr_master to ohos
Signed-off-by: zhangyukun <zhangyukun8@huawei.com>
Change-Id: Ic66a9e649de8c0ce530483296fe323b8f50621fb
2021-12-21 09:36:03 +08:00
zhangyukun
7ffcc4b20f Sync js_runtime to openharmony
Signed-off-by: zhangyukun <zhangyukun8@huawei.com>
2021-09-08 09:20:53 +08:00