Fix launch heapprofiler

Issue:#I7W64X

Signed-off-by: yang-19970325 <yangyang585@huawei.com>
Change-Id: I8907b9f5c2d2619920eff59db16454eb8349f6a3
This commit is contained in:
yang-19970325 2023-08-26 18:13:11 +08:00
parent 63a992e10d
commit 31acef1552

View File

@ -903,6 +903,9 @@ uint32_t DebuggerApi::GetContainerLength(const EcmaVM *ecmaVm, Local<JSValueRef>
void DebuggerApi::AddInternalProperties(const EcmaVM *ecmaVm, Local<ObjectRef> object,
ArkInternalValueType type, Global<MapRef> internalObjects)
{
if (internalObjects.IsEmpty()) {
return;
}
internalObjects->Set(ecmaVm, object, NumberRef::New(ecmaVm, static_cast<int32_t>(type)));
}