Home
last modified time | relevance | path

Searched refs:numberOfProperties (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Djs_hclass.cpp470 int numberOfProperties = properties->EntriesCount(); in OptimizeAsFastProperties() local
473 JSHandle<LayoutInfo> layoutInfoHandle = factory->CreateLayoutInfo(numberOfProperties); in OptimizeAsFastProperties()
475 for (int i = 0; i < numberOfProperties; i++) { in OptimizeAsFastProperties()
489 newJsHClass->SetNumberOfProps(numberOfProperties); in OptimizeAsFastProperties()
Djs_object.cpp295 int numberOfProperties = properties->EntriesCount(); in OptimizeAsFastProperties() local
297 if (numberOfProperties > static_cast<int>(PropertyAttributes::MAX_FAST_PROPS_CAPACITY)) { in OptimizeAsFastProperties()
303 ASSERT(static_cast<int>(indexOrder.size()) == numberOfProperties); in OptimizeAsFastProperties()
310 int numberOfOutProperties = numberOfProperties - numberOfInlinedProps; in OptimizeAsFastProperties()
315 for (int i = 0; i < numberOfProperties; i++) { in OptimizeAsFastProperties()