mirror of
https://gitee.com/openharmony/arkcompiler_toolchain
synced 2024-11-23 07:30:33 +00:00
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:
parent
186b5bbe40
commit
e074300c51
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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 ¶ms,
|
||||
std::string *outId,
|
||||
std::vector<std::unique_ptr<Location>> *outLocations,
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user