[compiler-rt] r336230 - [libFuzzer] remove stale code, as suggested in https://reviews.llvm.org/D48800
Kostya Serebryany via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 3 14:22:44 PDT 2018
Author: kcc
Date: Tue Jul 3 14:22:44 2018
New Revision: 336230
URL: http://llvm.org/viewvc/llvm-project?rev=336230&view=rev
Log:
[libFuzzer] remove stale code, as suggested in https://reviews.llvm.org/D48800
Modified:
compiler-rt/trunk/lib/fuzzer/FuzzerDictionary.h
Modified: compiler-rt/trunk/lib/fuzzer/FuzzerDictionary.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/fuzzer/FuzzerDictionary.h?rev=336230&r1=336229&r2=336230&view=diff
==============================================================================
--- compiler-rt/trunk/lib/fuzzer/FuzzerDictionary.h (original)
+++ compiler-rt/trunk/lib/fuzzer/FuzzerDictionary.h Tue Jul 3 14:22:44 2018
@@ -37,13 +37,6 @@ public:
return Size == w.Size && 0 == memcmp(Data, w.Data, Size);
}
- bool operator<(const FixedWord<kMaxSize> &w) const {
- ScopedDoingMyOwnMemOrStr scoped_doing_my_own_mem_os_str;
- if (Size != w.Size)
- return Size < w.Size;
- return memcmp(Data, w.Data, Size) < 0;
- }
-
static size_t GetMaxSize() { return kMaxSize; }
const uint8_t *data() const { return Data; }
uint8_t size() const { return Size; }
More information about the llvm-commits
mailing list