Gymee
832160451d
update local scope object when it changed
...
Signed-off-by: Gymee <yumeijie@huawei.com >
Change-Id: I3b7bfdf71aec34fb42e393148048765b4d51ef65
2022-05-09 16:24:11 +08:00
Gymee
904a4300da
support evaluate on target callframe
...
Signed-off-by: Gymee <yumeijie@huawei.com >
Change-Id: I4e4b4b4f621706e5bb7e88e651fd9f3fb21c2b37
2022-05-09 13:56:17 +08:00
openharmony_ci
221548d043
!1201 add closure variables to local scope
...
Merge pull request !1201 from Gymee/fix_localscope
2022-05-05 15:46:54 +00:00
Gymee
96292cb45c
add closure variables to local scope
...
Signed-off-by: Gymee <yumeijie@huawei.com >
Change-Id: I0ce49467a5cfa027b7ab2f87d9c35ca8c9cd9ba6
2022-05-05 21:24:53 +08:00
Gymee
f4e412ef1e
fix bug for refactoring FrameHandler
...
Signed-off-by: Gymee <yumeijie@huawei.com >
Change-Id: I475f474c29a9e7e79dd1eab5fe3b495ebc3be24f
2022-05-05 15:48:50 +08:00
guobingbing
129ebdbf25
refactor class FrameHandler
...
Signed-off-by: guobingbing <guobingbing3@huawei.com >
Change-Id: I9f3ff0c04d34a31a34f21da637689eb61d4166f1
2022-05-04 10:36:44 +08:00
Gymee
909b9081a9
debugger refactor
...
Change-Id: Idff2f871926a3893b5bd962f13b4a10c39f9f6d9
Signed-off-by: Gymee <yumeijie@huawei.com >
2022-04-24 11:35:13 +08:00
Gymee
83048efbf1
support watch expression and conditional breakpoint
...
Signed-off-by: Gymee <yumeijie@huawei.com >
Change-Id: I794a5ee770f251e6fea4de5058575519ff0490e6
2022-04-18 20:04:33 +08:00
wengchangcheng
d6c835caea
Descriptor: debugger refactor
...
details:
1. debugger refactor, don't use runtime debugger
2. fix debugger crash
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I52VXK
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I08e3c86bf659b9e0a44d014d13b11462d50218b3
2022-04-17 01:16:26 +08:00
wengchangcheng
2e4dbad3a3
[part-1] support watch expression
...
1. delete unused execute arguments
2. support select execute entry
3. support get execute return value
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I51MKR
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I40139e2f4afa36ad7d169d7f6c367a62a40bf476
2022-04-09 22:53:42 +08:00
guobingbing
589234007e
FFI optimization for call params
...
Signed-off-by: guobingbing <guobingbing3@huawei.com >
Change-Id: I61b820e91b85364e4f41d35ca0172ad059a1b916
2022-04-07 21:13:46 +08:00
wengchangcheng
4e08cec6ee
[part-1] delete "*-inl.h" of newest codex rule
...
move the definition to the declare head file
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I512HV
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: Ieeb0ec96281cda51d0bebd6a2e771fc8d4078306
2022-04-07 14:14:49 +08:00
wengchangcheng
0b4981525d
refactor stl container
...
1. using runtime container instead of stl container
2. change debugger line amd column type to int32_t
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I50NHW
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I0eb4651f17c6f6894f11de1ba904bcbe83a57db7
2022-04-06 16:05:22 +08:00
wengchangcheng
7c0ca961f5
refactor debugger extractor
...
1. rename js_pt_extractor
2. move debug_info_extractor to js_runtime
3. use map to store MethodDebug info and LocalVariable info
4. refactor ScopeInfo extractor
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5004N
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: Id64d718aa9360afd53398ee729714c859bd61768
2022-03-30 17:49:11 +08:00
wengchangcheng
4804cd80d3
add Wextra and Werror in gn args
...
1. add -Wextra and -Werror to check code format error
2. modify all compiler error
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I4ZDQE
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: If5fdd1980494269b4c06bf1bb38a8eba7952adea
2022-03-24 21:45:19 +08:00
wengchangcheng
fbf3c4a035
share constpool, and modify some code refactor
...
1. cache constpool in ecma vm
2. use JSPandaFile instead of panda_file::File
3. make GenerateProgram as a static function
4. add a singleton of JSPandaFileManager::GetInstance()
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I4WZVV
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: Ic7ccd66764c3a020e575d4046e1792475d45be6b
2022-03-21 21:46:25 +08:00
y00576111
a1796a573e
EcmaScript Standard Module Implementation
...
Delete the existing module implementation and
re implement the module function according to the ECMA 2018 specification
issue: #I4NZQT [https://gitee.com/openharmony/ark_ts2abc/issues/I4NZQT ]
Signed-off-by: y00576111 <yaojian16@huawei.com >
Change-Id: I8d381db7f8bf2f3d6b2a5c21cbc3cbab1aef0b9b
2022-03-10 19:10:42 +08:00
wengchangcheng
7c7b0e5097
fix actor bug
...
modify actor for app start
issue:https://gitee.com/openharmony/js_worker_module/issues/I4SMW8
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: Iad48f3173a963c4290701a708f41832359c88b02
2022-03-02 15:33:19 +08:00
y00576111
9eeef5be33
js pandafile refactor, support actor function
...
When the worker thread is started
the part shared by the virtual machine is not recreated
only the part that cannot be shared is created
issue:https://gitee.com/openharmony/js_worker_module/issues/I4SMW8
Signed-off-by: y00576111 <yaojian16@huawei.com >
Change-Id: I3c01588bb8449bd9cd8b410cfd13ff55205f41c1
2022-03-02 15:33:19 +08:00
h00611971
66ad032336
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I4VE0E
...
fix problems concerning lexicalEnv
Signed-off-by: h00611971 <huangfeijie@huawei.com >
2022-03-01 11:16:43 +08:00
getingke
aef57e484b
fixed for review by wuzhefeng
...
Signed-off-by: getingke <getingke@huawei.com >
Change-Id: I7ceab6e9cc8b42ba73255813419baa3619381676
2021-10-28 20:59:19 +08:00
getingke
bc69122046
increase base class FrameHandler for iterator stack frame
...
Signed-off-by: getingke <getingke@huawei.com >
Change-Id: I5643f176c169a2d3a754b6ead66698a0a8e33351
2021-10-28 16:28:40 +08:00
wengchangcheng
84968c0677
seperate debugger notification manager of js and java
...
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
2021-10-18 16:56:56 +08:00
surpassgoodchao
507111a0e8
fastboot fix
...
Signed-off-by: surpassgoodchao <surpassgoodchao@qq.com >
2021-10-12 14:17:00 +08:00
surpassgoodchao
d15fafc5ac
fastboot review
...
Signed-off-by: surpassgoodchao <surpassgoodchao@qq.com >
2021-10-12 12:26:02 +08:00
wengchangcheng
63197a17a6
fix stack backtracking and param name
...
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
2021-09-14 14:54:48 +08:00
zhangyukun
7ffcc4b20f
Sync js_runtime to openharmony
...
Signed-off-by: zhangyukun <zhangyukun8@huawei.com >
2021-09-08 09:20:53 +08:00
wanyanglan
86cfe52253
add ark js_runtime
...
Signed-off-by: wanyanglan <wanyanglan1@huawei.com >
Change-Id: Iac7851492f10c0ef1303c621febb65e5fdd22e41
2021-09-05 16:05:06 +08:00