Remove some branches
This commit is contained in:
@@ -1376,14 +1376,7 @@ bool checkRangeRead(Node *n, std::span<const uint8_t> begin,
|
||||
break;
|
||||
}
|
||||
|
||||
if (!checkRangeLeftSide.ok) {
|
||||
return false;
|
||||
}
|
||||
if (!checkRangeRightSide.ok) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
return checkRangeLeftSide.ok & checkRangeRightSide.ok;
|
||||
}
|
||||
|
||||
// Returns a pointer to the newly inserted node. caller is reponsible for
|
||||
|
Reference in New Issue
Block a user