diff options
author | Sam Clegg <sbc@chromium.org> | 2018-07-16 23:09:29 +0000 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2018-07-16 23:09:29 +0000 |
commit | cf2a9e28b1bb37181ae916043df155cede38ff18 (patch) | |
tree | 2201a2ebd62ff346c8c631b0c71422aff1e78860 /llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp | |
parent | c71adc8040b1e382b195a0096015cb5c39628b23 (diff) | |
download | llvm-cf2a9e28b1bb37181ae916043df155cede38ff18.zip llvm-cf2a9e28b1bb37181ae916043df155cede38ff18.tar.gz llvm-cf2a9e28b1bb37181ae916043df155cede38ff18.tar.bz2 |
[WebAssembly] Remove ELF file support.
This support was partial and temporary. Now that we have
wasm object file support its no longer needed.
Differential Revision: https://reviews.llvm.org/D48744
llvm-svn: 337222
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp')
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp index dac9f10..70ce40c 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp +++ b/llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp @@ -358,9 +358,7 @@ static void PlaceMarkers(MachineFunction &MF, const MachineLoopInfo &MLI, FixEndsAtEndOfFunction(MF, MFI, BlockTops, LoopTops); // Add an end instruction at the end of the function body. - if (!MF.getSubtarget<WebAssemblySubtarget>() - .getTargetTriple().isOSBinFormatELF()) - AppendEndToFunction(MF, TII); + AppendEndToFunction(MF, TII); } bool WebAssemblyCFGStackify::runOnMachineFunction(MachineFunction &MF) { |