[llvm] Use pop_back_val (NFC)

This commit is contained in:
Kazu Hirata
2021-01-24 12:18:57 -08:00
parent 0bd8f7e194
commit 0ec2908ce9
16 changed files with 18 additions and 36 deletions
+1 -2
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) {