Home
last modified time | relevance | path

Searched refs:codePointValue (Results 1 - 3 of 3) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_string.cpp93 uint16_t codePointValue = JSTaggedValue::ToUint16(thread, codePointTag); in FromCharCode() local
95 if (EcmaStringAccessor::CanBeCompressed(&codePointValue, 1)) { in FromCharCode()
97 return singleCharTable->GetStringFromSingleCharTable(codePointValue); in FromCharCode()
99 JSHandle<EcmaString> strHandle = factory->NewFromUtf16Literal(&codePointValue, 1); in FromCharCode()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dbuiltins_string_stub_builder.cpp51 GateRef codePointValue = ToNumber(glue, codePointTag); in FromCharCode() local
60 BRANCH(TaggedIsInt(codePointValue), &isInt, &notInt); in FromCharCode()
63 value = TruncInt32ToInt16(GetInt32OfTInt(codePointValue)); in FromCharCode()
68 value = TruncInt32ToInt16(DoubleToInt(glue, GetDoubleOfTDouble(codePointValue), base::INT16_BITS)); in FromCharCode()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dtyped_hcr_lowering.cpp3373 GateRef codePointValue = builder_.ToNumber(gate, codePointTag, glue); in LowerStringFromSingleCharCode() local
3382 BRANCH_CIR(builder_.TaggedIsInt(codePointValue), &isInt, &notInt); in LowerStringFromSingleCharCode()
3385 value = builder_.TruncInt32ToInt16(builder_.GetInt32OfTInt(codePointValue)); in LowerStringFromSingleCharCode()
3391 builder_.DoubleToInt(glue, builder_.GetDoubleOfTDouble(codePointValue), base::INT16_BITS)); in LowerStringFromSingleCharCode()

Completed in 17 milliseconds