diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/CodeGen/NonRelocatableStringpool.cpp')
| -rw-r--r-- | contrib/llvm-project/llvm/lib/CodeGen/NonRelocatableStringpool.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/contrib/llvm-project/llvm/lib/CodeGen/NonRelocatableStringpool.cpp b/contrib/llvm-project/llvm/lib/CodeGen/NonRelocatableStringpool.cpp index 7304bfef55cb..e8391afb8e3f 100644 --- a/contrib/llvm-project/llvm/lib/CodeGen/NonRelocatableStringpool.cpp +++ b/contrib/llvm-project/llvm/lib/CodeGen/NonRelocatableStringpool.cpp @@ -12,9 +12,6 @@ namespace llvm { DwarfStringPoolEntryRef NonRelocatableStringpool::getEntry(StringRef S) { - if (S.empty() && !Strings.empty()) - return EmptyString; - if (Translator) S = Translator(S); auto I = Strings.insert({S, DwarfStringPoolEntry()}); |
