mirror of
https://github.com/danog/ir.git
synced 2024-11-30 04:39:43 +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 {
|
||||
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);
|
||||
if (var) {
|
||||
if (var >= 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user