summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCWasmStreamer.cpp
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2018-06-14 17:11:19 +0000
committerSam Clegg <sbc@chromium.org>2018-06-14 17:11:19 +0000
commitc0dba0af0145b4d0933019287b4f88e3b9433149 (patch)
tree9238699b22dc463ccc674a3dfc49f320c71bdc9e /llvm/lib/MC/MCWasmStreamer.cpp
parente2f3e1091307425decd500d738a94feafe873734 (diff)
downloadbcm5719-llvm-c0dba0af0145b4d0933019287b4f88e3b9433149.tar.gz
bcm5719-llvm-c0dba0af0145b4d0933019287b4f88e3b9433149.zip
Revert "[MC] Factor MCObjectStreamer::addFragmentAtoms out of MachO streamer."
This reverts rL331412. We didn't up using fragment atoms in the wasm object writer after all. Differential Revision: https://reviews.llvm.org/D48173 llvm-svn: 334734
Diffstat (limited to 'llvm/lib/MC/MCWasmStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCWasmStreamer.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/MC/MCWasmStreamer.cpp b/llvm/lib/MC/MCWasmStreamer.cpp
index 2c65371cf3a..c950ac778ea 100644
--- a/llvm/lib/MC/MCWasmStreamer.cpp
+++ b/llvm/lib/MC/MCWasmStreamer.cpp
@@ -191,9 +191,6 @@ void MCWasmStreamer::EmitInstToData(const MCInst &Inst,
void MCWasmStreamer::FinishImpl() {
EmitFrames(nullptr);
- // Set fragment atoms so we can map from code fragment to defining symbol
- addFragmentAtoms();
-
this->MCObjectStreamer::FinishImpl();
}
OpenPOWER on IntegriCloud