From c0dba0af0145b4d0933019287b4f88e3b9433149 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Thu, 14 Jun 2018 17:11:19 +0000 Subject: 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 --- llvm/lib/MC/MCWasmStreamer.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'llvm/lib/MC/MCWasmStreamer.cpp') 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(); } -- cgit v1.2.3