Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_string_stub_builder.cpp48 GateRef codePointValue = ToNumber(glue, codePointTag); in FromCharCode() local
57 Branch(TaggedIsInt(codePointValue), &isInt, &notInt); in FromCharCode()
60 value = TruncInt32ToInt16(GetInt32OfTInt(codePointValue)); in FromCharCode()
65 …value = TruncInt32ToInt16(DoubleToInt(glue, GetDoubleOfTDouble(codePointValue), base::INT16_BITS)); in FromCharCode()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_string.cpp108 uint16_t codePointValue = JSTaggedValue::ToUint16(thread, codePointTag); in FromCharCode() local
110 if (EcmaStringAccessor::CanBeCompressed(&codePointValue, 1)) { in FromCharCode()
112 return singleCharTable->GetStringFromSingleCharTable(codePointValue); in FromCharCode()
114 JSHandle<EcmaString> strHandle = factory->NewFromUtf16Literal(&codePointValue, 1); in FromCharCode()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dtyped_hcr_lowering.cpp3077 GateRef codePointValue = builder_.ToNumber(gate, codePointTag, glue); in LowerStringFromSingleCharCode() local
3086 builder_.Branch(builder_.TaggedIsInt(codePointValue), &isInt, &notInt); in LowerStringFromSingleCharCode()
3089 value = builder_.TruncInt32ToInt16(builder_.GetInt32OfTInt(codePointValue)); in LowerStringFromSingleCharCode()
3095 … builder_.DoubleToInt(glue, builder_.GetDoubleOfTDouble(codePointValue), base::INT16_BITS)); in LowerStringFromSingleCharCode()