179 Commits

Author SHA1 Message Date
openharmony_ci df35b1745a !166 c++工具链适配m1平台
Merge pull request !166 from yinchuang/m1_adapter_core
2022-07-05 06:09:56 +00:00
yinchuang 08ed847036 adapter for m1 chip
Signed-off-by: yinchuang <yinchuang@huawei.com>
2022-07-04 19:26:10 +08:00
openharmony_ci 29765e1a88 !172 Use a simple way to implement SetOrAddElementByIndex
Merge pull request !172 from qiuyu/master
2022-07-01 10:35:17 +00:00
qiuyu 11e4188cc4 Use a simple way to implement SetOrAddElementByIndex
Move the implementation of SetOrAddElementByIndex from header to cpp file

Related Issue: https://gitee.com/openharmony/ark_runtime_core/issues/I5EDXX

Signed-off-by: qiuyu <qiuyu22@huawei.com>
Change-Id: I0b6b863650137055cef4d28c44217b3c0bcbd417
2022-07-01 17:39:42 +08:00
openharmony_ci c6d932bdde !169 Read abc file bugfix of ARK WINDOWS
Merge pull request !169 from Pan Zhenyu/master
2022-06-28 12:55:17 +00:00
panzhenyu1 3b96951d5c ARK WINDOWS run test262 case failed when reading abc file
related issue: https://gitee.com/openharmony/ark_runtime_core/issues/I5EJN9

Signed-off-by: panzhenyu1 <panzhenyu1@huawei.com>
Change-Id: Iee5f77ccbf15319c4028a651f2ef6b45b0762dee
2022-06-28 17:20:12 +08:00
openharmony_ci 66e5c25b89 !167 Add interface to modify annotation elements by index
Merge pull request !167 from qiuyu/master
2022-06-28 02:07:24 +00:00
qiuyu e7fc0256b6 Add interface to modify annotation elements by index
For the adaption of type system in ts2abc, we need provide interface to modify annotation elements by index

Issue: #I5E22F
Signed-off-by: qiuyu <qiuyu22@huawei.com>
Change-Id: I86487106e5f71e0bf7f93588ec02838989cfb86e
2022-06-27 15:55:27 +08:00
openharmony_ci 271fab796a !162 Building error fix: mix-up of signed and unsigned numbers
Merge pull request !162 from qiuyu/master
2022-06-17 09:47:29 +00:00
qiuyu b57a1a12a8 File items codedx fixing
Fix mix-up of signed and unsigned numbers

Signed-off-by: qiuyu <qiuyu22@huawei.com>
2022-06-16 19:42:35 +08:00
openharmony_ci 941ecd8000 !160 Disable static linking for disassembler on MAC platform
Merge pull request !160 from qiuyu/master
2022-06-16 08:26:59 +00:00
qiuyu d7b2f0f650 Disable static linking for disassembler on MAC platform
There is build error when building ark_disasm for MAC sdk with static linking. So we disable it on MAC.

Signed-off-by: qiuyu <qiuyu22@huawei.com>
2022-06-16 13:38:41 +08:00
openharmony_ci 55544ecf3d !157 Enable static linking for ark disassembler
Merge pull request !157 from qiuyu/master
2022-06-14 11:28:10 +00:00
qiuyu edffe348ba Use static linking for ark disassembler
Use static linking for ark disassembler

Signed-off-by: qiuyu <qiuyu22@huawei.com>
2022-06-14 17:38:13 +08:00
openharmony_ci 4b29ba1ca0 !156 Enable panda cache functions for windows platform
Merge pull request !156 from huangyu/master
2022-06-13 08:19:14 +00:00
openharmony_ci fc6904242c !151 Refactor mutex, library loader and complement Windows thread API
Merge pull request !151 from huangyu/support_win_previewer
2022-06-11 10:26:23 +00:00
huangyu 993f4884aa Refactor mutex, library loader and complement Windows thread API
Signed-off-by: huangyu <huangyu76@huawei.com>
Change-Id: I662463d239f6d050ef6908de70e0e98cf85bf2a6
2022-06-10 16:25:49 +08:00
huangyu fb759cdf29 Enable panda cache functions for windows platform
Signed-off-by: huangyu <huangyu76@huawei.com>
Change-Id: Ic3598a84e4e9b72c7366b3a7dff044b8bdba0601
2022-06-10 09:39:59 +08:00
openharmony_ci 92c2701d8a !148 support disassemble literals
Merge pull request !148 from qiuyu/master
2022-06-05 03:11:13 +00:00
qiuyu 65e6b5f533 Adaption of ark_disasm literals
Support disassembling literals.

Fix file Read mode on windows platform.

Test: we test locally with all abc files in haps in applications, and all abc files can be correctly disassembled on unix, windows and mac platform.

Signed-off-by: qiuyu <qiuyu22@huawei.com>
2022-06-03 00:04:18 +08:00
openharmony_ci 34f0f5ca57 !150 Fix compile error on unix+amd64
Merge pull request !150 from 胡晓炜/fix_59OAF
2022-05-31 01:48:35 +00:00
shawn_hu_ls a40d943765 Fix compile error on unix+amd64
Signed-off-by: shawn_hu_ls <huxiaowei3@huawei.com>
2022-05-29 19:22:35 +08:00
openharmony_ci c96956586d !144 Add fuzztest part 2
Merge pull request !144 from 胡晓炜/master
2022-05-28 03:37:30 +00:00
胡晓炜 33b01b2d63 Merge branch 'master' of gitee.com:openharmony/ark_runtime_core into master 2022-05-27 16:12:32 +00:00
openharmony_ci cdfb4ac8be !143 Add fuzztest
Merge pull request !143 from wangyantian/master
2022-05-27 15:46:53 +00:00
wangyantian 60001ee29c Add fuzztest
Signed-off-by: wangyantian <wangyantian@huawei.com>
Change-Id: I51b6e6e2bc08eb42a1fee73ab8586fc19823a873
2022-05-27 20:42:44 +08:00
shawn_hu_ls 84c0639969 Add fuzztest part 2
Signed-off-by: shawn_hu_ls <huxiaowei0506@hotmail.com>
2022-05-27 09:53:01 +08:00
openharmony_ci 0a2d1f8f11 !136 Support ARK Previewer on MacOS
Merge pull request !136 from huangyu/support_mac_building
2022-05-19 07:49:01 +00:00
huangyu abde2cfcfc Enable compile shared library on MacOS
Signed-off-by: huangyu <huangyu76@huawei.com>
Change-Id: I6c937b4cee5913bc191a0fef869de6b8d3b4456a
2022-05-19 10:34:24 +08:00
openharmony_ci c9f3a7aaea !134 Support ARK standalone build
Merge pull request !134 from 宋宏昊/master
2022-05-05 08:06:27 +00:00
songhao e69d39660c Add source_set
Signed-off-by: songhao <songhonghao@huawei.com>
2022-05-05 15:16:29 +08:00
openharmony_ci bf09f2579d !135 Fix gtest MathHelpers.BitAshr failure
Merge pull request !135 from wangyantian/master
2022-04-27 07:35:56 +00:00
wangyantian e662accf4c Fix gtest MathHelpers.BitAshr failure
Signed-off-by: wangyantian <wangyantian@huawei.com>
2022-04-27 14:53:07 +08:00
openharmony_ci 965bb8c12d !133 Fix codex warnings
Merge pull request !133 from wangyantian/master
2022-04-25 13:33:38 +00:00
wangyantian 07cbf977d7 Fix codex warnings
Signed-off-by: wangyantian <wangyantian@huawei.com>
2022-04-25 17:27:50 +08:00
openharmony_ci 517770f5fc !132 Fix MacOS SDK Building
Merge pull request !132 from huangyu/support_mac_building
2022-04-25 07:17:06 +00:00
huangyu 7a2e1e1ac5 Fix MacOS SDK Building
Signed-off-by: huangyu <huangyu76@huawei.com>
Change-Id: If1250b6d3cbbe1ebd9e28ff8676ef48870003a5d
2022-04-25 12:10:36 +08:00
openharmony_ci baa91c8234 !122 Support ARK Previewer on Windows
Merge pull request !122 from huangyu/support_win_previewer
2022-04-24 14:02:54 +00:00
huangyu 04a4ad57e1 Support ARK Previewer on Windows Platform
Signed-off-by: huangyu <huangyu76@huawei.com>
Change-Id: I9ab44583d364fec1f73aa10d6d066e730b320c17
2022-04-24 18:21:35 +08:00
openharmony_ci e031226f68 !131 Fix codex warnings
Merge pull request !131 from wangyantian/master
2022-04-24 07:02:53 +00:00
wangyantian 30ad7e3c60 Fix codex warnings
Signed-off-by: wangyantian <wangyantian@huawei.com>
2022-04-24 12:34:56 +08:00
openharmony_ci af6a58bf66 !128 Fix codex warnings
Merge pull request !128 from wangyantian/master
2022-04-21 09:22:05 +00:00
wangyantian c77f6199d4 Fix codex warnings
Signed-off-by: wangyantian <wangyantian@huawei.com>
2022-04-20 18:22:23 +08:00
openharmony_ci 13635a34c2 !127 Fix codex warnings
Merge pull request !127 from wangyantian/master
2022-04-19 12:20:57 +00:00
wangyantian f5e2714e20 Fix codex warnings
Signed-off-by: wangyantian <wangyantian@huawei.com>
2022-04-19 15:55:14 +08:00
openharmony_ci 167d04a514 !121 fix compiler error of line_program_state.h
Merge pull request !121 from changcheng/fix_compile_error
2022-04-07 14:05:32 +00:00
wengchangcheng 0acbe27c29 fix compiler error of line_program_state.h
delete line_program_state.h, and use line_number_program.h

issue: https://gitee.com/openharmony/ark_js_runtime/issues/I51H6M

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I9b79becb697f5edb597f72d9e7857b367974e0fe
2022-04-07 11:43:42 +08:00
openharmony_ci 6fb7f71a6d !120 Fix Method::GetLineNumFromBytecodeOffset
Merge pull request !120 from konstantinbaladurin/cherry-pick-7829
2022-04-07 02:40:04 +00:00
Konstantin Baladurin da1a9b36f5 Fix Method::GetLineNumFromBytecodeOffset
Change-Id: I82a68723ef70c57ffc7dc015333860b242d0b57f
Signed-off-by: Konstantin Baladurin <konstantin.baladurin@huawei.com>
2022-04-06 16:55:35 +03:00
openharmony_ci 491062bf23 !119 fix test262 regression
Merge pull request !119 from nazarovkonstantin/knazarov-fix-test262-regression
2022-04-04 08:29:46 +00:00