summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCContext.cpp
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2018-05-30 02:57:20 +0000
committerSam Clegg <sbc@chromium.org>2018-05-30 02:57:20 +0000
commit105bdc25573288b9abf2d5d81313ec549a7e8af7 (patch)
treec480fc61a7d9f20e877c7289de959fb7fa1d584a /llvm/lib/MC/MCContext.cpp
parent71fd27043ee0c8e1b9a1a71aeab7d5629a7b29f1 (diff)
downloadbcm5719-llvm-105bdc25573288b9abf2d5d81313ec549a7e8af7.tar.gz
bcm5719-llvm-105bdc25573288b9abf2d5d81313ec549a7e8af7.zip
[WebAssembly] MC: Add compile-twice test and fix corresponding bug
Differential Revision: https://reviews.llvm.org/D47398 llvm-svn: 333494
Diffstat (limited to 'llvm/lib/MC/MCContext.cpp')
-rw-r--r--llvm/lib/MC/MCContext.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCContext.cpp b/llvm/lib/MC/MCContext.cpp
index da2f0d4e60b..5c4d67b10dd 100644
--- a/llvm/lib/MC/MCContext.cpp
+++ b/llvm/lib/MC/MCContext.cpp
@@ -105,6 +105,7 @@ void MCContext::reset() {
MachOUniquingMap.clear();
ELFUniquingMap.clear();
COFFUniquingMap.clear();
+ WasmUniquingMap.clear();
NextID.clear();
AllowTemporaryLabels = true;
OpenPOWER on IntegriCloud