diff options
Diffstat (limited to 'subx/024pack_instructions.cc')
-rw-r--r-- | subx/024pack_instructions.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/subx/024pack_instructions.cc b/subx/024pack_instructions.cc index 44d06eb7..a897f1da 100644 --- a/subx/024pack_instructions.cc +++ b/subx/024pack_instructions.cc @@ -47,9 +47,9 @@ Transform.push_back(pack_instructions); :(code) void pack_instructions(program& p) { if (p.segments.empty()) return; - segment& seg = p.segments.at(0); - for (int i = 0; i < SIZE(seg.lines); ++i) { - line& inst = seg.lines.at(i); + segment& code = p.segments.at(0); + for (int i = 0; i < SIZE(code.lines); ++i) { + line& inst = code.lines.at(i); if (all_raw_hex_bytes(inst)) continue; trace(99, "translate") << "packing instruction '" << to_string(/*with metadata*/inst) << "'" << end(); pack_instruction(inst); |