mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-30 16:53:02 +00:00
Fix Wasm build after r315254
llvm-svn: 315258
This commit is contained in:
parent
f80af1598f
commit
94d7eeac4a
@ -61,7 +61,6 @@ unsigned WebAssemblyELFObjectWriter::getRelocType(MCContext &Ctx,
|
||||
MCObjectWriter *llvm::createWebAssemblyELFObjectWriter(raw_pwrite_stream &OS,
|
||||
bool Is64Bit,
|
||||
uint8_t OSABI) {
|
||||
MCELFObjectTargetWriter *MOTW =
|
||||
new WebAssemblyELFObjectWriter(Is64Bit, OSABI);
|
||||
return createELFObjectWriter(MOTW, OS, /*IsLittleEndian=*/true);
|
||||
auto MOTW = llvm::make_unique<WebAssemblyELFObjectWriter>(Is64Bit, OSABI);
|
||||
return createELFObjectWriter(std::move(MOTW), OS, /*IsLittleEndian=*/true);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user