llvm.org GIT mirror llvm / a43247c
Delete dead code. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221770 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 6 years ago
1 changed file(s) with 0 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
229229 static_cast(pos - 1));
230230 }
231231
232 uint32_t getWord(size_t pos) {
233 uint8_t buf[4] = { 0xFF, 0xFF, 0xFF, 0xFF };
234 BitStream->getBitcodeBytes().readBytes(pos, sizeof(buf), buf);
235 return *reinterpret_cast(buf);
236 }
237
238232 bool AtEndOfStream() {
239233 return BitsInCurWord == 0 && isEndPos(NextChar);
240234 }