Home
last modified time | relevance | path

Searched refs:MAX_INT32 (Results 1 - 2 of 2) sorted by relevance

/arkcompiler/ets_frontend/es2panda/util/
H A Dhelpers.h170 static const uint32_t MAX_INT32 = 2147483647; member in panda::es2panda::panda::panda::es2panda::panda::panda::es2panda::panda::es2panda::panda::es2panda::util::SignedNumberLiteral::Helpers
/arkcompiler/ets_frontend/es2panda/compiler/core/
H A Dpandagen.cpp2115 (std::get<int64_t>(op) <= util::Helpers::MAX_INT32))) { in ToPropertyKey()
2122 * Store index to vreg when index > MAX_INT32 to simplify ASM interpreter If byindex-related instructions support in ToPropertyKey()
2123 * index > MAX_INT32, ASM interpreter will have to add a judgment whether index needs more than 32 bits which will in ToPropertyKey()
2124 * cause inefficiency of it since cases when index > MAX_INT32 can be quite rare in ToPropertyKey()
2126 if (std::holds_alternative<int64_t>(op) && (std::get<int64_t>(op) > util::Helpers::MAX_INT32)) { in ToPropertyKey()

Completed in 9 milliseconds