Commit Graph

6467 Commits

Author SHA1 Message Date
openharmony_ci
13303b3a52
!4434 Fix throw excecption
Merge pull request !4434 from 韩靖/master
2023-07-15 03:56:31 +00:00
openharmony_ci
d3f5f08846
!4410 Bugfix: In OrdinaryGetOwnProperty function, data accessor.value may not have property box
Merge pull request !4410 from yaochaonan/bugfix
2023-07-15 03:53:54 +00:00
lichenshuai
840fc35ec6 [Bug]: error.constructor.prototype.name类型直接将数值作为指针导致非法内存访问漏洞
name被修改为了整数类型,但在PrintJSErrorInfo中被直接视为EcmaString,导致在取值时发生非法内存访问。

Issue: #I7KW69

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: Iae5b86beda282992fd2dd623ec9bf7bc54f03af6
2023-07-15 11:35:05 +08:00
hwx1163501
8a8be93eea Fix throw excecption
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7LBSZ
2023-07-15 10:53:44 +08:00
yaochaonan
1fea6c4d95
update test/moduletest/dataproperty/dataproperty.js.
Signed-off-by: yaochaonan <yaochaonan@huawei.com>
2023-07-15 02:39:04 +00:00
yaochaonan
24cbae60f8
update test/moduletest/dataproperty/dataproperty.js.
Signed-off-by: yaochaonan <yaochaonan@huawei.com>
2023-07-15 02:38:34 +00:00
openharmony_ci
99d04f4610
!4336 Refactor module, modify path_helper[part 1]
Merge pull request !4336 from yaochaonan/path_helper
2023-07-15 02:36:32 +00:00
openharmony_ci
29cbe42513
!4426 Fix throw excecption
Merge pull request !4426 from 韩靖/master
2023-07-15 02:12:56 +00:00
openharmony_ci
d7c21b3979
!4417 CodeCheck Modification and 262case Bugfix of Module Degister
Merge pull request !4417 from DaiHN/codecheckfix
2023-07-14 14:23:56 +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
DaiHN
8fded9db6c CodeCheck Modification and 262case Bugfix of Module Deregister
issue :  #I7KPMO

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I7b7524fa1dc0c35842ad4b6ac6a78958d899bebb
2023-07-14 16:35:32 +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
wu_zhang_da
f750ecba44 Fastpath For Int8Array
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7I7GA

Signed-off-by: wu_zhang_da <wuzhangda@huawei.com>
Change-Id: Ibee5446d49863fe3b6b0b4ee43fe68d6120a1260
2023-07-14 15:52:00 +08:00
Zhenyu Pan
d383e9af19 Fix a bug that uses the first argument as string separator
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7L5C8

Signed-off-by: Zhenyu Pan <panzhenyu1@huawei.com>
Change-Id: I01e1825c08ed9b83e854b724df8b58ebb8d8daa6
2023-07-14 15:45:21 +08:00
王笑佳
d2b96b3de5 Fix THROW_TYPE_ERROR_AND_RETURN Part 4
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7L6ZC

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-07-14 15:05:06 +08:00
yaochaonan
a1c0255a89 Refactor module, modify path_helper[part 1]
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7GVWC?from=project-issue

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: Ifc3b70707e12536ad3756abacb94d6d45b595a43
2023-07-14 14:51:21 +08:00
openharmony_ci
0dea7136d6
!4399 Enhance type infer for array types
Merge pull request !4399 from huoqingyi/array_compatible
2023-07-14 06:11:47 +00:00
openharmony_ci
9c7032212e
!4409 The caller of NewRuntimeCallInfo fails to promptly return an exception
Merge pull request !4409 from chenjingxiang/callinfo_return_br
2023-07-14 03:27:58 +00:00
openharmony_ci
67c097664c
!4385 Unbind Framestate From Statesplit For Call BC
Merge pull request !4385 from 许杰/inline_deopt_bugfix
2023-07-14 03:14:06 +00:00
openharmony_ci
53a4713b65
!4404 安全问题整改
Merge pull request !4404 from 韩靖/master
2023-07-14 02:32:37 +00:00
openharmony_ci
024e67e59e
!4388 安全问题整改
Merge pull request !4388 from 韩靖/master
2023-07-14 02:25:32 +00:00
quiet-thought
f596e410db The caller of NewRuntimeCallInfo fails to promptly return an exception
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7K7L6

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I69a5e2f415a51d7caf5aab5fdf7c2fe1de5da5c4
2023-07-14 10:18:21 +08:00
ginxu
35a6763ba6 Unbind Framestate From Statesplit For Call BC
1. Unbind framestate and statesplt for call
2. Bugfix for inline
3. Pass inline parameter type

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7J64D

Signed-off-by: ginxu <xujie101@huawei.com>
Change-Id: Ib80feeb5f6f4af5bbcc6a110014f273a42e363f7
2023-07-14 09:19:23 +08:00
openharmony_ci
7a3726aa6d
!4428 修复Greater指令PGO类型采集错误
Merge pull request !4428 from yingguofeng/master
2023-07-13 14:46:35 +00:00
yingguofeng@huawei.com
36dc6b0bc6 Fix(PGO): Fix pgo type error for greater
Issue: #I7L1CG
Change-Id: Icdb10ebcee7be5b13589193411c71a1e822c9e0b
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-07-13 21:21:18 +08:00
huoqingyi
e63104c9fa Enhance type infer for array types
When declaring an array variable through the Array's method,
type information will be lost on IR even though there is a type annotation in source code.
We need to support this scenario.

Issue:
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7JNLD

Test:
typeinfer test

Signed-off-by: huoqingyi <huoqingyi@huawei.com>
Change-Id: I811f96d91ca2a19e2d45362dadcff36706766891
2023-07-13 19:22:45 +08:00
openharmony_ci
761747e79c
!4396 Support Dynamic Adjust The Sequence of .rodata And .text
Merge pull request !4396 from 吴璋达/newELF
2023-07-13 07:05:42 +00:00
openharmony_ci
438b6e1414
!4420 Modifying Code Alarms
Merge pull request !4420 from 韩靖/master
2023-07-13 06:15:04 +00:00
hwx1163501
d0994ec82b Rectification of safety problems
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7JAJC
2023-07-13 11:08:45 +08:00
hwx1163501
75a63d1ea5 修改代码告警
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7KT7O
2023-07-13 10:28:47 +08:00
hwx1163501
52fe048741 The code has security issues
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7JY3Y
2023-07-13 09:06:57 +08:00
openharmony_ci
89a9f8292b
!4393 Track Field
Merge pull request !4393 from yingguofeng/master_last
2023-07-12 16:00:35 +00:00
openharmony_ci
7c2e1739cf
!4419 Fix profdump ap file with errno 5 on windows platform
Merge pull request !4419 from hzzhouzebin/MergeAp
2023-07-12 15:04:47 +00:00
openharmony_ci
5b3550d7fa
!4418 stackgetter get recordname by GetRecordNameWithSymbol
Merge pull request !4418 from 苏重威/master
2023-07-12 14:22:55 +00:00
hzzhouzebin
d9182ebbff Fix profdump ap file with errno 5 on windows platform
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7KQKD
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I8d35681c24847f62a0f6a518db4261e11f335756
2023-07-12 22:02:48 +08:00
yingguofeng@huawei.com
3b107f900a Feat(Aot): Track Double/Int field for aot compiler
Issue: #I7JI0Z
Change-Id: I24f762d505cf467e86d5a12f3fc78c9ecd4513f1
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-07-12 21:55:16 +08:00
Chongwei Su
fe86bbf709 stackgetter get recordname by GetRecordNameWithSymbol
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7KQG9

Signed-off-by: Chongwei Su <suchongwei@huawei.com>
2023-07-12 20:58:11 +08:00
openharmony_ci
11c5ad5924
!4304 Remove redundant basic blocks
Merge pull request !4304 from Gargoyle.h/wzfmaster-dev
2023-07-12 09:13:50 +00:00
openharmony_ci
2fb1c10147
!4416 Increase size of recordName in FrameInfoTemp from 100 to 500
Merge pull request !4416 from 苏重威/master
2023-07-12 09:03:02 +00:00
openharmony_ci
0deb4b7048
!4414 回退4369
Merge pull request !4414 from 韩靖/master
2023-07-12 08:21:37 +00:00
Chongwei Su
67d58765eb Increase size of recordName in FrameInfoTemp from 100 to 500
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7KMM9

Signed-off-by: Chongwei Su <suchongwei@huawei.com>
2023-07-12 15:37:43 +08:00
openharmony_ci
4481572e7a
!4397 [Bug]: 修复BigInt范围过大问题
Merge pull request !4397 from 李晨帅/master
2023-07-12 07:28:13 +00:00
wuzhefeng
3076952e68 Reduce redundant basic blocks during code generation phase
here are many redundant basic blocks during code generation phase, which will
increase the size of LLVM-IR and impact the code generation efficiency. Adding
an optimization pass at the end of the linearizing phase to remove redundant basic blocks.

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7FHUM

Testing: test262/test262-aot/unittest/workload

Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com>

Change-Id: Ieb63cbe42162c22adb81c8086a563f5fdb72ec78
2023-07-12 15:21:39 +08:00
openharmony_ci
d7a870d9ff
!4415 reduce gc in context initialize
Merge pull request !4415 from xiongluo/test_context_init
2023-07-12 06:46:25 +00:00
openharmony_ci
9b7b48c67f
!4384 Support Content Display for WeakMap Under Debug Mode
Merge pull request !4384 from 张博虓/add_weakmap
2023-07-12 06:36:58 +00:00
openharmony_ci
3601dd5ba4
!4413 Restrict jserror size of OOM error
Merge pull request !4413 from wuwanqi/master
2023-07-12 03:51:14 +00:00
xiongluo
d851c7d4ab reduce time of unittest
Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: I1ab9547753a26dbfcbc7cd7dac05851b72dbb921
2023-07-12 11:36:57 +08:00
hwx1163501
19faeb8fec 回退4369
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7KI26
2023-07-12 11:18:34 +08:00
openharmony_ci
66e72506b4
!4411 AOT Optimization: Add Range Info for Index Check and LoadTypedArrayLength
Merge pull request !4411 from yaoyuan/master
2023-07-12 03:03:47 +00:00
yuanyao
ea1d1e318a AOT Optimization: Add RangeInfo for Index Check and LdTypedArrayLength
Issue:I7KEK4

Signed-off-by: yuanyao <yuanyao14@huawei.com>
Change-Id: I74eb1c1305efd5fc9e96c10168bac82a1d9b5cd9
2023-07-12 09:11:53 +08:00