mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-04 06:30:08 +00:00
Use empty() instead of comparing size() with zero.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46514 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1327,7 +1327,7 @@ bool BitcodeReader::ParseFunctionBody(Function *F) {
|
||||
}
|
||||
|
||||
case bitc::FUNC_CODE_INST_RET: // RET: [opty,opval<optional>]
|
||||
if (Record.size() == 0) {
|
||||
if (Record.empty()) {
|
||||
I = new ReturnInst();
|
||||
break;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user