From d6bce443d74bd2f4106dcb19702d381e1006fb27 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 --- llvm/include/llvm/Bitcode/BitstreamReader.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/llvm/include/llvm/Bitcode/BitstreamReader.h b/llvm/include/llvm/Bitcode/BitstreamReader.h index 6965da36ee23..e43f8e17fecc 100644 --- a/llvm/include/llvm/Bitcode/BitstreamReader.h +++ b/llvm/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); }