quiet-thought
8e3717baf4
Bugfix on EcmaString::CreateTreeString create long ecmaString
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7R95U
Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: Iaebdd8f8fa998b10124894e61a304b6957b11f57
2023-08-08 20:19:28 +08:00
王笑佳
f2c60fbed0
Fix THROW_TYPE_ERROR_AND_RETURN Part 1
...
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7JU9Q
Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-07-10 10:24:40 +08:00
Gymee
0500527db8
Remove leading spaces at empty line
...
Issue: #I67PO6
Signed-off-by: Gymee <yumeijie@huawei.com>
2022-12-27 17:59:06 +08:00
openharmony_ci
30d057f576
!3100 Use union instead of memcpy in bit_cast
...
Merge pull request !3100 from 武万琦/master
2022-12-05 08:23:17 +00: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
wuwanqi
1719b6d4c9
Use union instead of memcpy in bit_cast
...
= has a better performance than memcpy while bytelength below 128
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I63MMN?from=project-issue
Signed-off-by: wuwanqi <wuwanqi2@huawei.com>
Change-Id: I12b2e7a396eedda71c43c3e83da169fb395164d3
2022-12-01 14:13:06 +08:00
huangzhenghua
51c184ca6e
Integer overflow check
...
Signed-off-by: huangzhenghua <huangzhenghua3@huawei.com>
Change-Id: I8514100acecdbd6af8712c1c7c38bf77b7dc2987
2022-11-28 16:32:55 +08:00
wanghuan
fb87d25973
ecmastring interface refractor
...
desc: ecmastring interface refractor
solu:
1.add EcmaStringAccessor to provide interfaces outer;
2.package interfaces to not expose internal implementation.
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5NYV4
Signed-off-by: wanghuan <wanghuan80@huawei.com>
Change-Id: I3d9da61068e6374372d75fecfb144e82d4fc4eb6
2022-09-23 16:29:26 +08:00
wengchangcheng
ab13a0da91
Descriptor: support first level instruction
...
Details:
1. Add old Opcode defines
2. Add new inst handler of throw & wide & deprecated
3. Modify interpreter for new inst
4. Modify typeinfer for new inst
5. Modify asm interpreter for new inst
6. Modify aot circuit builder for new inst
7. Translate old inst to first level inst
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5LPNL
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: If9e0b60cafc32a662a5fb1676887939d5a2b9ebf
2022-08-24 14:12:42 +08:00
hjzhangcm
a6bd2ee220
delete xxx-inl.h move the definition to the declare head file
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-04-24 13:40:46 +08:00
wengchangcheng
99934b9037
add Wextra and Werror in gn args
...
1. add -Wextra and -Werror to check code format error
2. modify all compiler error
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I4ZDQE
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: If5fdd1980494269b4c06bf1bb38a8eba7952adea
2022-03-24 21:45:19 +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