mirror of
https://github.com/danog/ir.git
synced 2024-12-02 17:55:40 +01:00
Cleanup
This commit is contained in:
parent
c52fa3e6e0
commit
ea7b921f1b
@ -208,8 +208,6 @@ bool ir_check(const ir_ctx *ctx)
|
||||
/* pass (function returns void) */
|
||||
} else if (insn->op == IR_BEGIN && j == 1) {
|
||||
/* pass (start of unreachable basic block) */
|
||||
// } else if (insn->op == IR_LOOP_BEGIN || insn->op == IR_MERGE) {
|
||||
// /* TODO: something wrong ??? */
|
||||
} else if (IR_OPND_KIND(flags, j) != IR_OPND_CONTROL_REF
|
||||
&& (insn->op != IR_SNAPSHOT || j == 1)) {
|
||||
fprintf(stderr, "ir_base[%d].ops[%d] missing reference (%d)\n", i, j, use);
|
||||
|
Loading…
Reference in New Issue
Block a user