Home
last modified time | relevance | path

Searched refs:emptyArray (Results 1 – 6 of 6) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/
Dnew_object_stub_builder.cpp110 auto emptyArray = GetGlobalConstantValue( in NewJSObject() local
114 glue_, result->ReadVariable(), emptyArray); in NewJSObject()
116 glue_, result->ReadVariable(), emptyArray); in NewJSObject()
516 …auto emptyArray = GetGlobalConstantValue(VariableType::JS_POINTER(), glue, ConstantIndex::EMPTY_AR… in CreateEmptyArray() local
519 NewJSArrayLiteral(&result, &exit, RegionSpaceFlag::IN_YOUNG_SPACE, emptyArray, hclass, true); in CreateEmptyArray()
Dntype_mcr_lowering.cpp133 GateRef emptyArray = builder_.GetGlobalConstantValue(ConstantIndex::EMPTY_ARRAY_OBJECT_INDEX); in NewJSArrayLiteral() local
148 …lder_.StoreConstOffset(VariableType::JS_POINTER(), array, JSObject::PROPERTIES_OFFSET, emptyArray); in NewJSArrayLiteral()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_promise.cpp462 JSHandle<TaggedArray> emptyArray = factory->EmptyArray(); in PerformPromiseAll() local
463 values->SetValue(thread, emptyArray); in PerformPromiseAll()
725 JSHandle<TaggedArray> emptyArray = factory->EmptyArray(); in PerformPromiseAny() local
726 errors->SetValue(thread, emptyArray); in PerformPromiseAny()
910 JSHandle<TaggedArray> emptyArray = factory->EmptyArray(); in PerformPromiseAllSettled() local
911 values->SetValue(thread, emptyArray); in PerformPromiseAllSettled()
/arkcompiler/ets_runtime/ecmascript/
Dobject_factory.cpp404 JSHandle<TaggedArray> emptyArray = EmptyArray(); in NewJSObject() local
406 obj->SetElements(thread_, emptyArray, SKIP_BARRIER); in NewJSObject()
407 obj->SetProperties(thread_, emptyArray, SKIP_BARRIER); in NewJSObject()
3231 JSHandle<TaggedArray> emptyArray = EmptyArray(); in NewClassInfoExtractor() local
3232 obj->SetNonStaticKeys(thread_, emptyArray, SKIP_BARRIER); in NewClassInfoExtractor()
3233 obj->SetNonStaticProperties(thread_, emptyArray, SKIP_BARRIER); in NewClassInfoExtractor()
3234 obj->SetNonStaticElements(thread_, emptyArray, SKIP_BARRIER); in NewClassInfoExtractor()
3235 obj->SetStaticKeys(thread_, emptyArray, SKIP_BARRIER); in NewClassInfoExtractor()
3236 obj->SetStaticProperties(thread_, emptyArray, SKIP_BARRIER); in NewClassInfoExtractor()
3237 obj->SetStaticElements(thread_, emptyArray, SKIP_BARRIER); in NewClassInfoExtractor()
[all …]
Djs_number_format.cpp856 JSHandle<JSArray> emptyArray = factory->NewJSArray(); in FormatNumericToParts() local
857 THROW_RANGE_ERROR_AND_RETURN(thread, "icu formatter format failed", emptyArray); in FormatNumericToParts()
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2emptyArray}function E(e){return S(e,!1)}function T(t,r){var n=t.name.escapedText;return N(t.parent…