The TDD asyncAsmAction will fail when run. It needs to be fixed.
Issue: #I57UY6
Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: Ie80755f9bc13d4fe1dd83d413ac71323c753b7f7
Add new stackless stub to syncronize asm interpreter with C interpreter.
Issue: #I54DXV
Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: Ie6bef96e4ecd692d5a32a13eaa719859424c4b24
1. make bytecodeArraySize, hotnessCounter, methodId, slotSize into one field methodField.
2. change the interpreter_stub to fit the hotness counter in jsmethod.
3. fix the fail problem of mem controller test.
4. Adjust the timeout value of uinittest
Signed-off-by: xiongluo <xiongluo@huawei.com>
desc: add asmInter debugger to support ide debug.
solu:
1.add bc debugger stub entry;
2.check is or not debug mode in runInternal and switch release to debug or debug to release.
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I53Z4V
Signed-off-by: wanghuan <wanghuan80@huawei.com>
Change-Id: I3f61bed8b4e17c43d22b5e6f103fe897cd8b41c1
1. Move necessary fileds in jsMethod
2. Make jsMethod inherit aligned struct
3. Change some function names for easy reading
Signed-off-by: xiongluo <xiongluo@huawei.com>
1 Set FindElementWithCache and Float as no GC runtime
2 Add SavePC for RuntimeCall if needed
issue: #I53PT7
Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
desc: shr should be unsigned right shift, and ashr should be signed right shift. But they are reversed. So modify them.
solu:
1. reverse shr and ashr handle
2. delete unused frameHandle
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5292O
Signed-off-by: wanghuan <wanghuan80@huawei.com>
Change-Id: Ia329da8bf0ceaa80560601614b592bb448595a29
desc: fix setpropertyby*** stub error
solu:
1.add useown stub and not useown stub in common stub
2.Unit useown stub and not useown by using bool value in stub
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I51LRS
Signed-off-by: wanghuan <wanghuan80@huawei.com>
Change-Id: I7a0f68d065cb5b27f60db91af8a87216c47a1f6f
desc: fix expdyn stub handle error in bigint
solution:
1. Slowruntime expdyn need adaption to bigint, but stub's slowruntime doesn't modify. So fill up modification.
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I50ZRS
Signed-off-by: wanghuan <wanghuan80@huawei.com>
Change-Id: I46e4b11f3ed54239becdb3f80b5cea94d93f505b
1 Current ASM-INT(GHCC)/Fast-Stub(WebKit_jscc) set different FrameType to distinguish with CallingConv.It's more friendly to add callingConv flag in CallSignature class.
2 Fast-Stub/Aot CallingConv is WebKit_jscc while LLVM Backend don't support it on arm32. we'll add padding paramets to JS-Relative paramter is placed on stack.
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I4ZYPN?from=project-issue
Signed-off-by: songzhengchao <songzhengchao@huawei.com>
Change-Id: I93df6c1d605692941b1aa362ad4e07a202d76241
description: fix getresumemode stub handle error
solution:
1.load offset error, should be GetIntptr;
2.get value from bitfield error because of lack of lsr;
3.set acc value error, should be build tagged.
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I4ZOD5
Signed-off-by: wanghuan <wanghuan80@huawei.com>
Change-Id: I96a35d134d5441f040cbf42d4e8ab2be208f166f
description: fix asm definefunc stub module error
solution: Due to missing action to update module in definefunc stub, it makes a problem in StoreModuleValue. So add updating module to asm definefunc stub.
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I4ZBX0
Signed-off-by: wanghuan <wanghuan80@huawei.com>
Change-Id: Ifbe8daf4541210f77317898cfd40170fef7dd060