/arkcompiler/runtime_core/compiler/optimizer/ir_builder/ |
H A D | inst_builder-inl.h | 56 auto box = graph_->CreateInstCastValueToAnyType(GetPc(bc_inst->GetAddress())); in BuildCastToAnyString() local 57 box->SetAnyType(any_type); in BuildCastToAnyString() 58 box->SetInput(0, input); in BuildCastToAnyString() 59 UpdateDefinitionAcc(box); in BuildCastToAnyString() 60 AddInstruction(box); in BuildCastToAnyString() 82 auto box = graph_->CreateInstCastValueToAnyType(GetPc(bc_inst->GetAddress())); in BuildCastToAnyNumber() local 83 box->SetAnyType(any_type); in BuildCastToAnyNumber() 84 box->SetInput(0, input); in BuildCastToAnyNumber() 85 UpdateDefinitionAcc(box); in BuildCastToAnyNumber() 86 AddInstruction(box); in BuildCastToAnyNumber() [all...] |
/arkcompiler/ets_runtime/ecmascript/ |
H A D | global_dictionary-inl.h | 212 PropertyBox *box = dictHandle->GetBox(entry); in InvalidatePropertyBox() local 214 ASSERT(!box->GetValue().IsHole()); in InvalidatePropertyBox() 215 JSHandle<JSTaggedValue> oldValue(thread, box->GetValue()); in InvalidatePropertyBox() 228 PropertyBox *box = dictHandle->GetBox(entry); in InvalidateAndReplaceEntry() local 230 if (!attr.IsConfigurable() || box->GetValue().IsHole()) { in InvalidateAndReplaceEntry() 234 ASSERT_PRINT(!box->GetValue().IsHole(), "value must not be hole"); in InvalidateAndReplaceEntry() 240 box->Clear(thread); in InvalidateAndReplaceEntry()
|
H A D | js_thread.cpp | 1111 auto box = jsObject->GetGlobalPropertyBox(this, key); in InitializeBuiltinObject() local 1112 if (box == nullptr) { in InitializeBuiltinObject() 1116 entry.box_ = JSTaggedValue::Cast(box); in InitializeBuiltinObject() 1117 auto builtin = JSHandle<JSObject>(this, box->GetValue()); in InitializeBuiltinObject()
|
H A D | js_object.cpp | 459 PropertyBox* box = dictHandle->GetBox(index); in DeletePropertyInternal() local 460 box->Clear(thread); in DeletePropertyInternal()
|
H A D | object_factory.cpp | 3298 JSHandle<PropertyBox> box(thread_, header); in NewPropertyBox() 3299 box->SetValue(thread_, value); in NewPropertyBox() 3300 return box; in NewPropertyBox()
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/ |
H A D | layouts.py | 23 from rich import box namespace 66 box=box.SIMPLE,
|
H A D | rich_logging.py | 48 from rich.box import SIMPLE 212 return Panel(title=msg, title_align="left", renderable=rich, box=SIMPLE, expand=False)
|
/arkcompiler/ets_runtime/ecmascript/ic/ |
H A D | ic_runtime.cpp | 235 JSTaggedValue box = SlowRuntimeStub::LdGlobalRecord(thread_, key.GetTaggedValue()); in LoadMiss() local 236 if (!box.IsUndefined()) { in LoadMiss() 237 ASSERT(box.IsPropertyBox()); in LoadMiss() 239 icAccessor_.AddGlobalRecordHandler(JSHandle<JSTaggedValue>(thread_, box)); in LoadMiss() 241 return PropertyBox::Cast(box.GetTaggedObject())->GetValue(); in LoadMiss() 361 JSTaggedValue box = SlowRuntimeStub::LdGlobalRecord(thread_, key.GetTaggedValue()); in StoreMiss() local 362 if (!box.IsUndefined()) { in StoreMiss() 363 ASSERT(box.IsPropertyBox()); in StoreMiss() 367 icAccessor_.AddGlobalRecordHandler(JSHandle<JSTaggedValue>(thread_, box)); in StoreMiss()
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/call/ |
H A D | call_ets.cpp | 118 ArgValueBox &box = etsBoxedArgs[i]; in ConvertArgs() local 119 if (std::holds_alternative<ObjectHeader **>(box)) { in ConvertArgs() 120 ObjectHeader **slot = std::get<1>(box); in ConvertArgs() 123 etsArgs[ETS_ARGS_DISP + i] = Value(std::get<0>(box)); in ConvertArgs()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir_builder/ |
H A D | inst_builder-inl.h | 1562 auto box = graph_->CreateInstCastValueToAnyType(GetPc(bcInst->GetAddress()), anyType, input); in BuildCastToAnyString() local 1563 UpdateDefinitionAcc(box); in BuildCastToAnyString() 1564 AddInstruction(box); in BuildCastToAnyString() 1586 auto box = graph_->CreateInstCastValueToAnyType(GetPc(bcInst->GetAddress()), anyType, input); in BuildCastToAnyNumber() local 1587 UpdateDefinitionAcc(box); in BuildCastToAnyNumber() 1588 AddInstruction(box); in BuildCastToAnyNumber()
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
H A D | runtime_stubs-inl.h | 785 auto box = factory->NewPropertyBox(JSHandle<JSTaggedValue>(thread, JSTaggedValue::Hole())); in RuntimeStGlobalRecord() local 786 thread->GetBuiltinEntriesPointer()->ClearByIndex(index, box.GetTaggedValue()); in RuntimeStGlobalRecord() 805 JSHandle<PropertyBox> box = factory->NewPropertyBox(value); in RuntimeStGlobalRecord() local 809 dict = *GlobalDictionary::PutIfAbsent(thread, dictHandle, prop, JSHandle<JSTaggedValue>(box), attributes); in RuntimeStGlobalRecord() 1703 PropertyBox *box = dict->GetBox(entry); in RuntimeTryUpdateGlobalRecord() local 1704 box->SetValue(thread, value); in RuntimeTryUpdateGlobalRecord()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | stub_builder-inl.h | 3336 GateRef box = GetBoxFromGlobalDictionary(object, entry); in GetValueFromGlobalDictionary() local 3337 return Load(VariableType::JS_ANY(), box, IntPtr(PropertyBox::VALUE_OFFSET)); in GetValueFromGlobalDictionary()
|
H A D | typed_hcr_lowering.cpp | 2781 GateRef box = builder_.LoadConstOffset(VariableType::JS_POINTER(), glue, boxOffset); in LowerLoadBuiltinObject() local 2782 GateRef builtin = builder_.LoadConstOffset(VariableType::JS_POINTER(), box, PropertyBox::VALUE_OFFSET); in LowerLoadBuiltinObject() 2784 // attributes on globalThis may change, it will cause renew a PropertyBox, the old box will be abandoned in LowerLoadBuiltinObject()
|
/arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
H A D | cocos_worker_test.js | [all...] |