about summary refs log tree commit diff stats
path: root/subx/024pack_instructions.cc
diff options
context:
space:
mode:
Diffstat (limited to 'subx/024pack_instructions.cc')
-rw-r--r--subx/024pack_instructions.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/024pack_instructions.cc b/subx/024pack_instructions.cc
index a897f1da..bbaa7369 100644
--- a/subx/024pack_instructions.cc
+++ b/subx/024pack_instructions.cc
@@ -50,7 +50,7 @@ void pack_instructions(program& p) {
   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;
+    if (all_hex_bytes(inst)) continue;
     trace(99, "translate") << "packing instruction '" << to_string(/*with metadata*/inst) << "'" << end();
     pack_instruction(inst);
     trace(99, "translate") << "instruction after packing: '" << to_string(/*without metadata*/inst.words) << "'" << end();