Home
last modified time | relevance | path

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

/third_party/node/deps/v8/src/compiler/
Doperation-typer.cc945 uint32_t max_rhs = rhs.Max(); in NumberShiftLeft() local
946 if (max_rhs > 31) { in NumberShiftLeft()
948 max_rhs = 31; in NumberShiftLeft()
952 if (max_lhs > (kMaxInt >> max_rhs) || min_lhs < (kMinInt >> max_rhs)) { in NumberShiftLeft()
959 static_cast<int32_t>(static_cast<uint32_t>(min_lhs) << max_rhs)); in NumberShiftLeft()
962 static_cast<int32_t>(static_cast<uint32_t>(max_lhs) << max_rhs)); in NumberShiftLeft()
980 uint32_t max_rhs = rhs.Max(); in NumberShiftRight() local
981 if (max_rhs > 31) { in NumberShiftRight()
983 max_rhs = 31; in NumberShiftRight()
986 double min = std::min(min_lhs >> min_rhs, min_lhs >> max_rhs); in NumberShiftRight()
[all …]