commit 7d764e57584acb74f6895bb809d79d5593c74078
parent cc111475bc33d54e10d5571909e2641cff65a92e
Author: Nihal Jere <nihal@nihaljere.xyz>
Date: Thu, 27 Jan 2022 16:34:33 -0600
style
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/x64.c b/x64.c
@@ -852,7 +852,7 @@ emitblock(struct data *text, struct iproc *proc, struct instr *start, struct ins
if (ins < &proc->data[proc->labels.data[label]]) {
total += je(text, emitblock(NULL, proc, ins + 1, &proc->data[proc->labels.data[label]], active, curi));
} else {
- total += je(text, emitblock(NULL, proc, start, &proc->data[proc->labels.data[label]], 0, 0)- total - 2); // FIXME: 2 = size of short jump
+ total += je(text, emitblock(NULL, proc, start, &proc->data[proc->labels.data[label]], 0, 0) - total - 2); // FIXME: 2 = size of short jump
}
NEXT;
break;
@@ -1036,7 +1036,6 @@ emitblock(struct data *text, struct iproc *proc, struct instr *start, struct ins
}
}
-done:
return total;
}