Commit Graph

6 Commits

Author SHA1 Message Date
openharmony_ci 267f1415ec !1091 move the definition to the declare head file, and delete inl.h file
Merge pull request !1091 from hjzhangcm/master
2022-04-22 13:41:27 +00:00
hjzhangcm 8e768bf429 Rectify template problems
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
Change-Id: I3c156fc6d4b84ec14ec568c1ba36dda9aea34748
2022-04-22 09:44:50 +08:00
lifansheng a725676a6c Runtime architecture adjustment
Description
  Cut out most of the initialization logic in Runtime::Create and disconnect the
  inheritance relationship of most classes such as JSThread.
Issue:
  #I53418: Runtime architecture adjustment

Signed-off-by: lifansheng <lifansheng1@huawei.com>
Change-Id: Ib9c1a40354f77d32e515e23334e7f4b4a4fa3259
2022-04-21 14:37:31 +08:00
xliu 4fb9fcc443 ObjectFactory New Ecmastring Rectification
Description
  1. There are many kinds of interfaces to construct ecmastring from objectfactory
     in the virtual machine, and the name is not clear, so it is complex to use;
  2. Some of the unchecked interfaces are prone to errors during use. If there is
     no compression where compression is required, unpredictable errors will occur.
Issue:
  #I4ZL7X: ObjectFactory New Ecmastring Rectification

Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: I856f4e2e1df62823d928d738fa35affa97dbd3ed
2022-04-09 10:34:11 +08:00
zhaozhibo d8b13ea42c fix type error of test cases
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com>
2022-03-24 10:39:26 +08:00
xliu 4107692b61 Add tests for TreeMap and TreeSet
Description
  To ensure the high performance of container classes, TreeMap and TreeSet is provided in ark.
  1. Add test cases for ContainerTreeMap.
  2. Add test cases for ContainerTreeSet.
  3. Add test cases for JSAPITreeMap.
  4. Add test cases for JSAPITreeSet.
Related issue
  #I4T5I6:add test cases for TreeMap and TreeSet

Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: Ib01adfd9038498a88785bdd878e524e02ab38dc8
2022-02-10 15:40:14 +08:00