diff options
author | Fangrui Song <maskray@google.com> | 2019-07-12 14:58:15 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-07-12 14:58:15 +0000 |
commit | b251cc0d91362ea44f00a0138998a0272791f7dc (patch) | |
tree | fb2f4a2e59243cd19de79db04acf1e1e408e9661 /llvm/lib/MC/WasmObjectWriter.cpp | |
parent | a196469e67ce578df4fc9f348cc5b7221f12b239 (diff) | |
download | llvm-b251cc0d91362ea44f00a0138998a0272791f7dc.zip llvm-b251cc0d91362ea44f00a0138998a0272791f7dc.tar.gz llvm-b251cc0d91362ea44f00a0138998a0272791f7dc.tar.bz2 |
Delete dead stores
llvm-svn: 365903
Diffstat (limited to 'llvm/lib/MC/WasmObjectWriter.cpp')
-rw-r--r-- | llvm/lib/MC/WasmObjectWriter.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/MC/WasmObjectWriter.cpp b/llvm/lib/MC/WasmObjectWriter.cpp index 8743eb7..098343c 100644 --- a/llvm/lib/MC/WasmObjectWriter.cpp +++ b/llvm/lib/MC/WasmObjectWriter.cpp @@ -1413,7 +1413,6 @@ uint64_t WasmObjectWriter::writeObject(MCAssembler &Asm, } else { // An import; the index was assigned above. assert(WasmIndices.count(&WS) > 0); - Index = WasmIndices.find(&WS)->second; } LLVM_DEBUG(dbgs() << " -> event index: " << WasmIndices.find(&WS)->second << "\n"); |