5 Commits

Author SHA1 Message Date
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
wanyanglan 97543eb1c3 Clean Code
CodeHub ark_js_runtime of issue

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

Signed-off-by: wanyanglan <wanyanglan1@huawei.com>
Change-Id: I6c7b10e2475e80006598f86d0d51792693b714b5
2022-03-19 14:31:04 +08:00
zhaozhibo 116b8f85cb Fix internal issue list problem
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com>
2022-03-14 15:19:45 +08:00
hjzhangcm 90bc8f0140 add a test case named json_stringifier_test.cpp to test json_stringifier
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-02-18 13:52:44 +08:00