mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
[WebAssembly][MC] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off builds after r369317
llvm-svn: 369318
This commit is contained in:
parent
ed51349261
commit
bd9f504359
@ -426,10 +426,8 @@ void WasmObjectWriter::recordRelocation(MCAssembler &Asm,
|
||||
const MCFragment *Fragment,
|
||||
const MCFixup &Fixup, MCValue Target,
|
||||
uint64_t &FixedValue) {
|
||||
MCAsmBackend &Backend = Asm.getBackend();
|
||||
|
||||
// The WebAssembly backend should never generate FKF_IsPCRel fixups
|
||||
assert(!(Backend.getFixupKindInfo(Fixup.getKind()).Flags &
|
||||
assert(!(Asm.getBackend().getFixupKindInfo(Fixup.getKind()).Flags &
|
||||
MCFixupKindInfo::FKF_IsPCRel));
|
||||
|
||||
const auto &FixupSection = cast<MCSectionWasm>(*Fragment->getParent());
|
||||
|
Loading…
Reference in New Issue
Block a user