Skip to content

Commit 80855de

Browse files
MaxDesiatovkateinoigakukun
authored andcommitted
Remove redundant logging
1 parent 9fcc7ea commit 80855de

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

llvm/lib/MC/WasmObjectWriter.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -466,9 +466,6 @@ void WasmObjectWriter::recordRelocation(MCAssembler &Asm,
466466

467467
if (SymA->isVariable()) {
468468
const MCExpr *Expr = SymA->getVariableValue();
469-
if (Expr->getKind() != MCExpr::SymbolRef) {
470-
fprintf(stderr, "The expr type is %d\n", (int)Expr->getKind());
471-
}
472469
const auto *Inner = dyn_cast<MCSymbolRefExpr>(Expr);
473470
if (Inner && Inner->getKind() == MCSymbolRefExpr::VK_WEAKREF)
474471
llvm_unreachable("weakref used in reloc not yet implemented");

0 commit comments

Comments
 (0)