Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/compiler/
Dscheduler.cpp179 auto isAncestor = [&](size_t nodeA, size_t nodeB) -> bool { in Run() argument
180 return (timeIn[nodeA] <= timeIn[nodeB]) && (timeOut[nodeA] >= timeOut[nodeB]); in Run()
182 auto lowestCommonAncestor = [&](size_t nodeA, size_t nodeB) -> size_t { in Run() argument
183 if (isAncestor(nodeA, nodeB)) { in Run()
186 if (isAncestor(nodeB, nodeA)) { in Run()
187 return nodeB; in Run()
190 if (!isAncestor(jumpUp[nodeA][stepSize - 1], nodeB)) { in Run()
Dverifier.cpp553 auto isAncestor = [timeIn, timeOut](size_t nodeA, size_t nodeB) -> bool { in Run() argument
554 return timeIn[nodeA] <= timeIn[nodeB] && timeOut[nodeA] >= timeOut[nodeB]; in Run()
556 auto lowestCommonAncestor = [&](size_t nodeA, size_t nodeB) -> size_t { in Run() argument
557 if (isAncestor(nodeA, nodeB)) { in Run()
560 if (isAncestor(nodeB, nodeA)) { in Run()
561 return nodeB; in Run()
564 if (!isAncestor(jumpUp[nodeA][stepSize - 1], nodeB)) { in Run()