Home
last modified time | relevance | path

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

/external/v8/src/compiler/
Doperation-typer.cc815 uint32_t max_rhs = rhs->Max(); in NumberShiftLeft() local
816 if (max_rhs > 31) { in NumberShiftLeft()
818 max_rhs = 31; in NumberShiftLeft()
822 if (max_lhs > (kMaxInt >> max_rhs) || min_lhs < (kMinInt >> max_rhs)) { in NumberShiftLeft()
829 static_cast<int32_t>(static_cast<uint32_t>(min_lhs) << max_rhs)); in NumberShiftLeft()
832 static_cast<int32_t>(static_cast<uint32_t>(max_lhs) << max_rhs)); in NumberShiftLeft()
850 uint32_t max_rhs = rhs->Max(); in NumberShiftRight() local
851 if (max_rhs > 31) { in NumberShiftRight()
853 max_rhs = 31; in NumberShiftRight()
856 double min = std::min(min_lhs >> min_rhs, min_lhs >> max_rhs); in NumberShiftRight()
[all …]