mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-11-23 01:59:58 +00:00
commit
8c2e576664
@ -445,7 +445,6 @@ TaggedObject *Heap::AllocateSharedNonMovableSpaceFromTlab(JSThread *thread, size
|
||||
size_t newTlabSize = sNonMovableTlab_->ComputeSize();
|
||||
object = SharedHeap::GetInstance()->AllocateSNonMovableTlab(thread, newTlabSize);
|
||||
if (object == nullptr) {
|
||||
LOG_ECMA_MEM(WARN) << "allocate shared non movable space tlab failed";
|
||||
return nullptr;
|
||||
}
|
||||
uintptr_t begin = reinterpret_cast<uintptr_t>(object);
|
||||
@ -471,7 +470,6 @@ TaggedObject *Heap::AllocateSharedOldSpaceFromTlab(JSThread *thread, size_t size
|
||||
size_t newTlabSize = sOldTlab_->ComputeSize();
|
||||
object = SharedHeap::GetInstance()->AllocateSOldTlab(thread, newTlabSize);
|
||||
if (object == nullptr) {
|
||||
LOG_ECMA_MEM(WARN) << "allocate shared old space tlab failed";
|
||||
return nullptr;
|
||||
}
|
||||
uintptr_t begin = reinterpret_cast<uintptr_t>(object);
|
||||
|
@ -4094,7 +4094,6 @@ bool JSNApi::StopDebugger([[maybe_unused]] int tid)
|
||||
bool JSNApi::IsMixedDebugEnabled([[maybe_unused]] const EcmaVM *vm)
|
||||
{
|
||||
#if defined(ECMASCRIPT_SUPPORT_DEBUGGER)
|
||||
CROSS_THREAD_AND_EXCEPTION_CHECK_WITH_RETURN(vm, false);
|
||||
return vm->GetJsDebuggerManager()->IsMixedDebugEnabled();
|
||||
#else
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user