mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Update IR
IR commit: ec588537889c84a4ec649a6f1aa9d7f1bfea7b4d
This commit is contained in:
parent
c15988aab3
commit
fa59bbe662
1 changed files with 5 additions and 0 deletions
|
@ -95,6 +95,11 @@ bool ir_check(const ir_ctx *ctx)
|
|||
bool ok = 1;
|
||||
|
||||
for (i = IR_UNUSED + 1, insn = ctx->ir_base + i; i < ctx->insns_count;) {
|
||||
if (insn->op >= IR_LAST_OP) {
|
||||
fprintf(stderr, "ir_base[%d].op invalid opcode (%d)\n", i, insn->op);
|
||||
ok = 0;
|
||||
break;
|
||||
}
|
||||
flags = ir_op_flags[insn->op];
|
||||
n = ir_input_edges_count(ctx, insn);
|
||||
for (j = 1, p = insn->ops + 1; j <= n; j++, p++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue