Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.
/ swift-llvm Public archive

Commit 0ed50bf

Browse files
zhuoweiMaxDesiatov
authored andcommitted
Revert "WebAssembly: add logging when I get a BinaryExpr"
Don't need the logging anymore This reverts commit 8b8f31f.
1 parent d7a9e68 commit 0ed50bf

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/MC/WasmObjectWriter.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -496,10 +496,6 @@ void WasmObjectWriter::recordRelocation(MCAssembler &Asm,
496496
const auto *Inner = dyn_cast<MCSymbolRefExpr>(Expr);
497497
if (Inner && Inner->getKind() == MCSymbolRefExpr::VK_WEAKREF)
498498
llvm_unreachable("weakref used in reloc not yet implemented");
499-
if (!Inner) {
500-
fprintf(stderr, "weak check failed to get an inner:\n");
501-
Expr->dump();
502-
}
503499
}
504500

505501
// Put any constant offset in an addend. Offsets can be negative, and

0 commit comments

Comments
 (0)