summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCWasmStreamer.cpp
diff options
context:
space:
mode:
authorNicholas Wilson <nicholas@nicholaswilson.me.uk>2018-08-03 14:33:37 +0000
committerNicholas Wilson <nicholas@nicholaswilson.me.uk>2018-08-03 14:33:37 +0000
commite408a89a3aa83acb97f22d7d51ab341c22c6e05c (patch)
tree6b829861c534d9dc48c4940345183f528fe1c081 /llvm/lib/MC/MCWasmStreamer.cpp
parent873de9866119754dab9146026f357a27bb1d5e26 (diff)
downloadbcm5719-llvm-e408a89a3aa83acb97f22d7d51ab341c22c6e05c.tar.gz
bcm5719-llvm-e408a89a3aa83acb97f22d7d51ab341c22c6e05c.zip
[WebAssembly] Cleanup of the way globals and global flags are handled
Differential Revision: https://reviews.llvm.org/D44030 llvm-svn: 338894
Diffstat (limited to 'llvm/lib/MC/MCWasmStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCWasmStreamer.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCWasmStreamer.cpp b/llvm/lib/MC/MCWasmStreamer.cpp
index 0e593221404..7321a30dd94 100644
--- a/llvm/lib/MC/MCWasmStreamer.cpp
+++ b/llvm/lib/MC/MCWasmStreamer.cpp
@@ -119,7 +119,6 @@ bool MCWasmStreamer::EmitSymbolAttribute(MCSymbol *S, MCSymbolAttr Attribute) {
break;
case MCSA_ELF_TypeObject:
- Symbol->setType(wasm::WASM_SYMBOL_TYPE_DATA);
break;
default:
OpenPOWER on IntegriCloud