mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-10 00:42:45 +01:00
glasm: Remove unintentionally committed fmt::prints
This commit is contained in:
parent
70c9281fbf
commit
77ee733c3a
1 changed files with 0 additions and 2 deletions
|
@ -66,7 +66,6 @@ static void ValidateForwardDeclarations(const IR::Program& program) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (!definitions.contains(inst.Arg(arg).Inst())) {
|
if (!definitions.contains(inst.Arg(arg).Inst())) {
|
||||||
fmt::print("{}\n", IR::DumpBlock(*block));
|
|
||||||
throw LogicError("Forward declaration in block: {}", IR::DumpBlock(*block));
|
throw LogicError("Forward declaration in block: {}", IR::DumpBlock(*block));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -80,7 +79,6 @@ static void ValidatePhiNodes(const IR::Program& program) {
|
||||||
for (const IR::Inst& inst : *block) {
|
for (const IR::Inst& inst : *block) {
|
||||||
if (inst.GetOpcode() == IR::Opcode::Phi) {
|
if (inst.GetOpcode() == IR::Opcode::Phi) {
|
||||||
if (no_more_phis) {
|
if (no_more_phis) {
|
||||||
fmt::print("{}\n", IR::DumpBlock(*block));
|
|
||||||
throw LogicError("Interleaved phi nodes: {}", IR::DumpBlock(*block));
|
throw LogicError("Interleaved phi nodes: {}", IR::DumpBlock(*block));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue