diff options
| author | gingerBill <bill@gingerbill.org> | 2018-01-18 12:12:18 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-01-18 12:12:18 +0000 |
| commit | d90008cc524ae7075a91fa763def3918adb61fc6 (patch) | |
| tree | 99648ff858f9da9d98f30c99da25d62f23c74c9d /src/ir_opt.cpp | |
| parent | dbf8f9ab382951c4567ad006f8f5305c8716a826 (diff) | |
Add basic debug information needed for stepping over code
Diffstat (limited to 'src/ir_opt.cpp')
| -rw-r--r-- | src/ir_opt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir_opt.cpp b/src/ir_opt.cpp index af7189efc..0ec3838bd 100644 --- a/src/ir_opt.cpp +++ b/src/ir_opt.cpp @@ -232,7 +232,7 @@ bool ir_opt_block_fusion(irProcedure *proc, irBlock *a) { array_pop(&a->instrs); // Remove branch at end for_array(i, b->instrs) { array_add(&a->instrs, b->instrs[i]); - ir_set_instr_parent(b->instrs[i], a); + ir_set_instr_block(b->instrs[i], a); } array_clear(&a->succs); |