mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-08 19:25:47 +00:00
reduce indentation with early-out
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68462 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -342,20 +342,20 @@ private:
|
|||||||
if (Op.isLiteral()) {
|
if (Op.isLiteral()) {
|
||||||
// If the abbrev specifies the literal value to use, use it.
|
// If the abbrev specifies the literal value to use, use it.
|
||||||
Vals.push_back(Op.getLiteralValue());
|
Vals.push_back(Op.getLiteralValue());
|
||||||
} else {
|
return;
|
||||||
// Decode the value as we are commanded.
|
}
|
||||||
switch (Op.getEncoding()) {
|
// Decode the value as we are commanded.
|
||||||
default: assert(0 && "Unknown encoding!");
|
switch (Op.getEncoding()) {
|
||||||
case BitCodeAbbrevOp::Fixed:
|
default: assert(0 && "Unknown encoding!");
|
||||||
Vals.push_back(Read((unsigned)Op.getEncodingData()));
|
case BitCodeAbbrevOp::Fixed:
|
||||||
break;
|
Vals.push_back(Read((unsigned)Op.getEncodingData()));
|
||||||
case BitCodeAbbrevOp::VBR:
|
break;
|
||||||
Vals.push_back(ReadVBR64((unsigned)Op.getEncodingData()));
|
case BitCodeAbbrevOp::VBR:
|
||||||
break;
|
Vals.push_back(ReadVBR64((unsigned)Op.getEncodingData()));
|
||||||
case BitCodeAbbrevOp::Char6:
|
break;
|
||||||
Vals.push_back(BitCodeAbbrevOp::DecodeChar6(Read(6)));
|
case BitCodeAbbrevOp::Char6:
|
||||||
break;
|
Vals.push_back(BitCodeAbbrevOp::DecodeChar6(Read(6)));
|
||||||
}
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public:
|
public:
|
||||||
|
Reference in New Issue
Block a user