Remove some branches

This commit is contained in:
2024-02-22 14:29:24 -08:00
parent 0fbc8b0190
commit 608b4fb6c7

View File

@@ -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