Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
H A Dcgfunc.cpp207 PrimType targetPtyp = parent.GetPrimType(); in HandleCmp() local
209 targetPtyp = static_cast<const CompareNode &>(parent).GetOpndType(); in HandleCmp()
211 targetPtyp = static_cast<const TypeCvtNode &>(parent).FromType(); in HandleCmp()
213 if (IsPrimitiveInteger(targetPtyp) && targetPtyp != expr.GetPrimType()) { in HandleCmp()
214 expr.SetPrimType(targetPtyp); in HandleCmp()
H A Disel.cpp398 PrimType targetPtyp = parent.GetPrimType(); in HandleCmp() local
400 targetPtyp = static_cast<const CompareNode &>(parent).GetOpndType(); in HandleCmp()
402 targetPtyp = static_cast<const TypeCvtNode &>(parent).FromType(); in HandleCmp()
404 if ((IsPrimitiveInteger(targetPtyp) || IsPrimitiveFloat(targetPtyp)) && targetPtyp != expr.GetPrimType()) { in HandleCmp()
405 expr.SetPrimType(targetPtyp); in HandleCmp()

Completed in 5 milliseconds