mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Simplify boolean conditional return statements.
Patch by Richard <legalize@xmission.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238134 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
675da70da5
commit
b9f5ce3a43
@ -48,10 +48,7 @@ bool BitstreamCursor::EnterSubBlock(unsigned BlockID, unsigned *NumWordsP) {
|
|||||||
if (NumWordsP) *NumWordsP = NumWords;
|
if (NumWordsP) *NumWordsP = NumWords;
|
||||||
|
|
||||||
// Validate that this block is sane.
|
// Validate that this block is sane.
|
||||||
if (CurCodeSize == 0 || AtEndOfStream())
|
return CurCodeSize == 0 || AtEndOfStream();
|
||||||
return true;
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static uint64_t readAbbreviatedField(BitstreamCursor &Cursor,
|
static uint64_t readAbbreviatedField(BitstreamCursor &Cursor,
|
||||||
|
Loading…
Reference in New Issue
Block a user