[llvm] r290701 - Remove BitstreamWriter::Emit64(), it was never called (NFC)
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 28 17:40:54 PST 2016
Author: mehdi_amini
Date: Wed Dec 28 19:40:53 2016
New Revision: 290701
URL: http://llvm.org/viewvc/llvm-project?rev=290701&view=rev
Log:
Remove BitstreamWriter::Emit64(), it was never called (NFC)
Modified:
llvm/trunk/include/llvm/Bitcode/BitstreamWriter.h
Modified: llvm/trunk/include/llvm/Bitcode/BitstreamWriter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Bitcode/BitstreamWriter.h?rev=290701&r1=290700&r2=290701&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Bitcode/BitstreamWriter.h (original)
+++ llvm/trunk/include/llvm/Bitcode/BitstreamWriter.h Wed Dec 28 19:40:53 2016
@@ -136,15 +136,6 @@ public:
CurBit = (CurBit+NumBits) & 31;
}
- void Emit64(uint64_t Val, unsigned NumBits) {
- if (NumBits <= 32)
- Emit((uint32_t)Val, NumBits);
- else {
- Emit((uint32_t)Val, 32);
- Emit((uint32_t)(Val >> 32), NumBits-32);
- }
- }
-
void FlushToWord() {
if (CurBit) {
WriteWord(CurValue);
More information about the llvm-commits
mailing list