Home
last modified time | relevance | path

Searched refs:ArrayMode (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Djs_array.h25 enum class ArrayMode : uint8_t { UNDEFINED = 0, DICTIONARY, LITERAL }; enum
34 ArrayMode mode = ArrayMode::UNDEFINED);
37 ArrayMode mode = ArrayMode::UNDEFINED);
Djs_array.cpp52 JSHandle<JSTaggedValue> JSArray::ArrayCreate(JSThread *thread, JSTaggedNumber length, ArrayMode mod… in ArrayCreate()
61 … const JSHandle<JSTaggedValue> &newTarget, ArrayMode mode) in ArrayCreate()
84 if (mode == ArrayMode::LITERAL) { in ArrayCreate()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dprogram_object.h302 … JSHandle<JSArray> arr(JSArray::ArrayCreate(thread, JSTaggedNumber(length), ArrayMode::LITERAL)); in GetLiteralFromCache()