[llvm] Use pop_back_val (NFC)

This commit is contained in:
Kazu Hirata
2021-01-24 12:18:57 -08:00
parent 054444177b
commit 16baad8f4e
16 changed files with 18 additions and 36 deletions

View File

@@ -2933,8 +2933,7 @@ Error BitcodeReader::parseUseLists() {
if (RecordLength < 3)
// Records should have at least an ID and two indexes.
return error("Invalid record");
unsigned ID = Record.back();
Record.pop_back();
unsigned ID = Record.pop_back_val();
Value *V;
if (IsBB) {