Sync Code

Sync Code

Issue:https://gitee.com/openharmony/arkcompiler_toolchain/issues/IAPBOO

Signed-off-by: daiweihao <daiweihao1@huawei.com>
Change-Id: If50019622bcf326f1cd07919410b70a0642508f5
This commit is contained in:
daiweihao 2024-09-09 10:43:39 +08:00
parent 186b5bbe40
commit e074300c51
4 changed files with 3 additions and 9 deletions

View File

@ -66,7 +66,6 @@ ohos_shared_library("ark_debugger") {
if (enable_hilog) {
external_deps = [ "hilog:libhilog" ]
}
innerapi_tags = [ "platformsdk" ]
subsystem_name = "arkcompiler"
part_name = "toolchain"
output_name = "ark_inspector"
@ -116,7 +115,6 @@ ohos_shared_library("connectserver_debugger") {
if (enable_hilog) {
external_deps = [ "hilog:libhilog" ]
}
innerapi_tags = [ "platformsdk" ]
subsystem_name = "arkcompiler"
part_name = "toolchain"
output_name = "ark_connect_inspector"

View File

@ -124,7 +124,6 @@ ohos_shared_library("libark_ecma_debugger") {
if (!is_standard_system) {
relative_install_dir = "ark"
}
innerapi_tags = [ "platformsdk" ]
subsystem_name = "arkcompiler"
part_name = "toolchain"
output_name = "libark_tooling"

View File

@ -26,8 +26,6 @@
#include "ecmascript/jspandafile/js_pandafile_manager.h"
#include "ecmascript/napi/jsnapi_helper.h"
#include "ecmascript/tagged_array-inl.h"
namespace panda::ecmascript::tooling {
using namespace std::placeholders;
@ -1243,7 +1241,6 @@ void DebuggerImpl::AddBreakpointDetail(const std::string &url,
*outId = BreakpointDetails::ToString(metaData);
}
DispatchResponse DebuggerImpl::SetBreakpointByUrl(const SetBreakpointByUrlParams &params,
std::string *outId,
std::vector<std::unique_ptr<Location>> *outLocations,

View File

@ -627,13 +627,13 @@ void RuntimeImpl::GetMapValue(Local<JSValueRef> value,
std::vector<std::unique_ptr<PropertyDescriptor>> *outPropertyDesc)
{
Local<MapRef> mapRef = value->ToObject(vm_);
int32_t size = mapRef->GetSize(vm_);
int32_t len = mapRef->GetTotalElements(vm_);
uint32_t size = mapRef->GetSize(vm_);
uint32_t len = mapRef->GetTotalElements(vm_);
int32_t index = 0;
Local<JSValueRef> jsValueRef = NumberRef::New(vm_, size);
SetKeyValue(jsValueRef, outPropertyDesc, "size");
jsValueRef = ArrayRef::New(vm_, size);
for (int32_t i = 0; i < len; ++i) {
for (uint32_t i = 0; i < len; ++i) {
Local<JSValueRef> jsKey = mapRef->GetKey(vm_, i);
if (jsKey->IsHole()) {
continue;