Commit Graph

3150 Commits

Author SHA1 Message Date
openharmony_ci
7e48ac0596
!2751 Fix astchecker, added skip
Merge pull request !2751 from Amosov Alexey/astchecker_match
2024-11-08 17:48:16 +00:00
openharmony_ci
f1a3bec166
!2643 Remove acc_read from ets.ldobj
Merge pull request !2643 from groshevmaksim/b_opt
2024-11-08 11:11:11 +00:00
openharmony_ci
94a5c3da84
!2745 [abckit] Clean C scenarios; +4 new API; more unit-tests; bugfixes; some clean up
Merge pull request !2745 from ivagin/libmanipulasm-poc-dev-1
2024-11-08 11:02:52 +00:00
openharmony_ci
c53ffa1d87
!2747 [ArkTS Docs] Update spec(spec228)
Merge pull request !2747 from Amosov Alexey/new_spec228
2024-11-08 10:57:18 +00:00
openharmony_ci
4f729297bb
!2754 Add Test for 15732 and 15765
Merge pull request !2754 from Maksim Khramov/issue-14377
2024-11-08 10:46:57 +00:00
openharmony_ci
ca29236720
!2653 Suppress/fix codecheck warnings in runtime folder
Merge pull request !2653 from Rokashevich Svetlana/suppress_warnings_runtime
2024-11-08 10:44:41 +00:00
openharmony_ci
3ede1cecd3
!2707 [PT] Handle server disconnect
Merge pull request !2707 from slynkodenis/pt_debugger_framework_fix_client_disconnect
2024-11-08 07:04:29 +00:00
openharmony_ci
e356fd6cf2
!2736 Support inter-app hsp deps bytecode har
Merge pull request !2736 from ElevenDuan/inter_hsp
2024-11-08 02:43:13 +00:00
openharmony_ci
c17b4c143d
!2766 Add new test cases against es2panda issue 12597
Merge pull request !2766 from gorlovaleksandr/I1825-D
2024-11-08 02:09:39 +00:00
ElevenDuan
9a026fe965 Support inter-app hsp deps bytecode har
Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/IAZT2E
Signed-off-by: ElevenDuan <duanshiyi1@huawei.com>
Change-Id: I5b7c9b02658e0b54d15a345e3bb1682f0b27de6a
2024-11-07 22:22:19 +08:00
Amosov Alexey
b41c77a6df
Fix astchecker, added skip
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IB0W9A
Signed-off-by: Amosov Alexey <amosov.alexey1@huawei-partners.com>
2024-11-07 11:28:21 +03:00
ivagin
b6b09de021 [abckit] Dev branch
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IB0NKT

Signed-off-by: ivagin <vagin.ivan1@huawei-partners.com>
2024-11-07 07:42:25 +01:00
openharmony_ci
044121aa1f
!2773 URunner: fix report saving
Merge pull request !2773 from shirunova_viktoria/urunner/fix-report-xml
2024-11-07 03:15:59 +00:00
openharmony_ci
e7ce89fba5
!2728 [ArkTS][StdLib] Runtime error on Array with T|null
Merge pull request !2728 from AleksanderSotov/array-set-null
2024-11-07 03:07:46 +00:00
openharmony_ci
a7dfbd8fca
!2621 Print Inheritance info in ArkTS Debugger
Merge pull request !2621 from arutiunianani/arkts_debugger_fix_inherited_fields
2024-11-07 02:56:10 +00:00
openharmony_ci
55e5415fe7
!2787 Handle ASAN false-positive error
Merge pull request !2787 from Sidorov Aleksei/vixl_asan_fix
2024-11-07 02:39:32 +00:00
openharmony_ci
68488e336c
!2761 Intl alias types
Merge pull request !2761 from AleksanderSotov/intl-alias-types
2024-11-07 02:35:20 +00:00
openharmony_ci
a44f056144
!2695 Add perf counters
Merge pull request !2695 from rjgask/add-perf-counters
2024-11-06 22:08:57 +00:00
openharmony_ci
24ac486d18
!2725 [Bug]: [ArkTS] Wrong operator+ result in case of jit
Merge pull request !2725 from Andrew Polyakov/bugfix/issue-IARNNO
2024-11-06 22:06:30 +00:00
openharmony_ci
80a0e96bee
!2620 Clean up ignored list from tests with function import
Merge pull request !2620 from klimentievamaria/solved_func_import
2024-11-06 22:01:47 +00:00
openharmony_ci
3ed49fee02
!2742 Fix codecheck issues in MM components
Merge pull request !2742 from shemetovphilip/codecheck_fix_1025
2024-11-06 21:59:05 +00:00
openharmony_ci
f2460f50aa
!2431 Fixed interfaces according to ArkTS specification
Merge pull request !2431 from Maxim Logaev/add-identifier-expected-cte
2024-11-06 21:56:47 +00:00
openharmony_ci
a14a7f8e3c
!2651 [ArkTS][StdLib] Map/Set performance improvements
Merge pull request !2651 from cheezzario/20085-escompat-map-perf-tune
2024-11-06 21:53:35 +00:00
openharmony_ci
5e37704068
!2729 Implement large compiler frame size
Merge pull request !2729 from Anna Antipina/large-regs
2024-11-06 21:50:25 +00:00
openharmony_ci
58e2560764
!2590 [ArkTS CTS] Add tests for 7.6 Spread Expression
Merge pull request !2590 from fotograf/cts-spread-expr
2024-11-06 21:47:57 +00:00
openharmony_ci
96a842e1da
!2769 URunner: report fail kind at once on failure
Merge pull request !2769 from shirunova_viktoria/urunner/fix-error-log
2024-11-06 21:43:13 +00:00
openharmony_ci
274745eb05
!2697 Es2abc compiled memory optimization
Merge pull request !2697 from oh-rgx/memory-opt
2024-11-06 18:09:44 +00:00
Alexey V. Kanatov
1c1b2e7410
[ArkTS Docs] Update speca(spec228)
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IB0O83

Description:
Specification:
•	Lexical: list of operators, soft keywords and type names are updated
•	All literal types except string, null, undefined are deleted, union normalization is fixed accordingly
•	Variable initialization (4.7.1) is fixed.
•	Fix terminology: field is not variable
•	Generic instantiation definitions corrected
•	Local class description is updated
•	Non-nullish expressions are allowed in ‘??’ operator
•	Qualified names for namespaces are allowed. Namespaces in one compilation units are merged.
•	Annotation ‘namespace’ is deleted
•	All changes reviewed and ensured proper English by tech.

Signed-off-by: Alexey V. Kanatov <kanatov.alexey@huawei-partners.com>
2024-11-06 16:47:12 +03:00
Maksim Khramov
621a5bd3b4 Add Test for 15732 and 15765
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IB0Y1R

Covers:
Issue 15732: Optional arguments for method with 'this' return type
Issue 15765: Optional arguments of functional type don't allow lambdas

Test: CI build
Signed-off-by: Maksim Khramov <khramov.wx1235557@huawei-partners.com>
2024-11-06 17:44:32 +08:00
openharmony_ci
a4d01a5134
!2696 Fix/suppress codecheck warnings in plugins/ets/runtime
Merge pull request !2696 from Rokashevich Svetlana/suppress_warnings_ets_runtime
2024-11-06 01:52:05 +00:00
openharmony_ci
9fc1f819b2
!2715 Fixing spec test
Merge pull request !2715 from groshevmaksim/binding
2024-11-05 22:32:53 +00:00
Aleksei Sidorov
976421eba2 Handle ASAN false-positive error
Handle ASAN false-positive error (stack-use-after-scope) for big static variable defined in method scope.

Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IB2BKA

Signed-off-by: Aleksei Sidorov <aleksei.sidorov@huawei.com>
Change-Id: Ia924a2a47276d99ba58126b7f31aa69fbb9d2490
2024-11-05 17:36:00 +03:00
gorlovaleksandr
9c014bb541 Title: Add tests against panda issue 12597
Description: Add new test cases against es2panda issue 12597
Issue: https://gitee.com/open_harmony/dashboard?issue_id=IB1HCK
Tests: All required pre-merge test passed.Results are available in the gwatcher review issue

Signed-off-by: gorlovaleksandr <gorlov.aleksandr@huawei-partners.com>
2024-11-05 11:41:41 +03:00
Andrew Polyakov
8bc5abfb26 SimplifyStringBuilder: fix wrong trigger cases
Description:
 SimplifyStringBuilder optimization pass could modify input instructions
 in a way that changes initially intended logic, thus leading to wrong
 executable. It is crucial for compiler to preserve logic provided by
 human.
 Disable optimization for cases leading to erroneous behaviour thus
 providing slower, but correct code.
 SimplifyStringBuilder optimization purpose is to make simplier code
 in case of string appending process that takes place inside loop. It
 eliminates temporary StringBuilder instances construction and reduces
 append instruction count. Currently, it doesn't make any difference
 between append and prepend cases, and thus, when got triggered on
 prepend case, it provides wrong code optimization. Correct fix to this
 problem would be to modify SimplifyStringBuilder to retain optimization
 logic in prepend cases, at least partly, still providing correct code.
 Proposed changes, however, just disable wrong optimization trigger
 cases.
 Implement two additional filters: during populating the list of
 accumulator values and during processing temporary accumulator values
 that might also contribute to final concatenation result.
 In first case modify
 `IsPhiAccumulatedValue()/HasAppendInstructionUser()` method to apply
 additional checks on accumulator candidate that it shouldn't be
 prepended within same basic block in current loop.
 In second case go through additional `StringBuilder` usages in order to
 find ones that relate to prepend pattern with temporary accumulator values.
 Suggest here that `StringBuilderUsage.appendInstructions` are stored in
 reverse order.
 If found, drop current optimization attempt.

Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IARNNO
Testing: ninja all tests
Change-Id: Id2979c9a164f6af6e780418717b62c53319c9748
Signed-off-by: Andrew Polyakov <aendrew.polyakov@yandex.ru>
2024-11-05 08:31:48 +00:00
openharmony_ci
b69ec25c8d
!2759 [ArkTS Linter] Bundle Typescript Standard library declarations
Merge pull request !2759 from Evgeniy Okolnov/arkts-linter-fix-bundle
2024-11-03 01:53:15 +00:00
openharmony_ci
1d58256934
!2767 Faulty StringBuilder merging results to wrong toString() output
Merge pull request !2767 from Mikhail Ivanov/20370-faulty-string-builder-merge
2024-11-02 23:46:13 +00:00
openharmony_ci
3460fe37cf
!2722 [ArkTS CTS] Update obsolete or invalid tests, cleanup skip list
Merge pull request !2722 from fotograf/cts-fixes-2
2024-11-02 21:22:47 +00:00
openharmony_ci
f3e0e0628b
!2712 [ArkTS][Frontend] Multiple error reporting in parser/expressionParser.cpp
Merge pull request !2712 from isharonov/feature-multiple-errors-expr
2024-11-02 21:20:18 +00:00
openharmony_ci
0e36fa4879
!2464 Export is allowed only for declarations
Merge pull request !2464 from Maxim Logaev/export-only-decls
2024-11-02 21:13:07 +00:00
openharmony_ci
277ef1a6f1
!2763 [URunner]: fix codecheck
Merge pull request !2763 from shirunova_viktoria/urunner/fix-codecheck-02
2024-11-02 21:01:24 +00:00
rjgask
17e1f02e59 Add perf counters
Issue:
https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IAZM8Q

Testing: all required pre-merge tests

Signed-off-by: rjgask <bor.rjgask@huawei.com>
2024-11-02 21:08:52 +08:00
Aleksander Sotov
85aa0b97fc Improve Array.$_set for null value arguments
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IAZV7N

Testing: add new test to ets_func_tests

Signed-off-by: Aleksander Sotov <sotov.aleksander@huawei.com>
2024-11-02 14:52:55 +03:00
Aleksander Sotov
1758a8f4e2 Add Intl types
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IAD6IB

Testing: there are no new tests

Signed-off-by: Aleksander Sotov <sotov.aleksander@huawei.com>
2024-11-02 14:36:49 +03:00
fotograf
5025a58a88 [ArkTS CTS] Add tests for 7.6 Spread Expression
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IAVGQO
Test: All required pre-merge tests passed. Results are available in the ggwatcher.
Signed-off-by: fotograf <foto.graf@huawei-partners.com>
Change-Id: I4fe0c7fae46fb674e8a79ee4873de1864eeb516c
2024-11-02 19:16:21 +08:00
groshevmaksim
e559d03507 Title: Fixing spec test
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IAZLK2
Signed-off-by: groshevmaksim <groshev.maksim@h-partners.com>
2024-11-02 13:38:34 +03:00
Andrey Smirnov sWX1323803
e17fe70359 [ArkTS][StdLib] Map/Set performance improvements
Description: Map/Set performance optimizations
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IAX873
Testing: All required pre-merge tests passed. Results are available in the ggwatcher
Signed-off-by: cheezzario <windy.road123@huawei-partners.com>
2024-11-02 13:16:29 +03:00
Philipp Shemetov
260af8a52d [MM]:Fix codecheck
Issue:https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IB0DK4

Tests: ninja all tests
Signed-off-by: Philipp Shemetov <shemetov.philip@huawei.com>
2024-11-02 12:48:54 +03:00
Rokashevich Svetlana
581c9e3350 Suppress/fix codecheck warnings in runtime folder
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IAX8UP

Signed-off-by: Rokashevich Svetlana <rokashevich.svetlana1@huawei-partners.com>
2024-11-02 12:29:29 +03:00
openharmony_ci
a54ca7e7df
!2607 Fix/suppress codecheck warnings in libpandabase
Merge pull request !2607 from Rokashevich Svetlana/suppress_warnings_libpandabase
2024-11-02 09:27:36 +00:00
openharmony_ci
ab52a8ce25
!2758 Split TypedUArray tests due timeout
Merge pull request !2758 from templin.konstantin/split-typeuarray-tests
2024-11-02 09:24:24 +00:00