From 43cd3ca3864e44fd4091dea996e46f629e4755ea Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 12 Nov 2014 04:31:19 +0000 Subject: [PATCH] Delete dead code. NFC. llvm-svn: 221770 --- include/llvm/Bitcode/BitstreamReader.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/llvm/Bitcode/BitstreamReader.h b/include/llvm/Bitcode/BitstreamReader.h index 6965da36ee2..e43f8e17fec 100644 --- a/include/llvm/Bitcode/BitstreamReader.h +++ b/include/llvm/Bitcode/BitstreamReader.h @@ -230,12 +230,6 @@ public: static_cast(pos - 1)); } - uint32_t getWord(size_t pos) { - uint8_t buf[4] = { 0xFF, 0xFF, 0xFF, 0xFF }; - BitStream->getBitcodeBytes().readBytes(pos, sizeof(buf), buf); - return *reinterpret_cast(buf); - } - bool AtEndOfStream() { return BitsInCurWord == 0 && isEndPos(NextChar); }