mirror of
https://github.com/danog/ir.git
synced 2024-12-02 09:38:29 +01:00
Print BIND-ing information for LOAD nodes
This commit is contained in:
parent
ba56eb5497
commit
e5abfc119d
@ -111,7 +111,7 @@ void ir_save(ir_ctx *ctx, FILE *f)
|
|||||||
} else {
|
} else {
|
||||||
fprintf(f, ");");
|
fprintf(f, ");");
|
||||||
}
|
}
|
||||||
if ((flags & IR_OP_FLAG_DATA) && ctx->binding) {
|
if (((flags & IR_OP_FLAG_DATA) || ((flags & IR_OP_FLAG_MEM) && insn->type != IR_VOID)) && ctx->binding) {
|
||||||
ir_ref var = ir_binding_find(ctx, i);
|
ir_ref var = ir_binding_find(ctx, i);
|
||||||
if (var) {
|
if (var) {
|
||||||
if (var >= 0) {
|
if (var >= 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user