Skip to content
Snippets Groups Projects
Commit 887894e3 authored by clc5q's avatar clc5q
Browse files

Add diagnostic output for fatal error before assert(false) call.

Former-commit-id: 4546fff20719e9be6dc9ca672ed12aa4304c880a
parent a45b438e
No related branches found
No related tags found
No related merge requests found
......@@ -4687,6 +4687,13 @@ bool SMPInstr::MDNormalizeStackOps(bool UseFP, STARS_sval_t FPDelta, bool Recomp
this->USEMemOp = NewOp;
}
else {
SMP_msg("\nFATAL ERROR in MDNormalizeStackOps: Stack operand is not the USEMemOp. Inst dump follows.\n");
SMP_msg("Stack Op: ");
PrintOperand(OldOp);
SMP_msg(" USEMemOp: ");
PrintOperand(this->USEMemOp);
SMP_msg(" \n");
this->Dump();
assert(false);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment