From fcc2ce58f69b74ef306c0d35e0b2201740d45a33 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sat, 28 Nov 2020 16:05:09 +1100 Subject: [PATCH] docs: fix simple typo, registesr -> register There is a small typo in regalloc.c. Should read `register` rather than `registesr`. --- regalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regalloc.c b/regalloc.c index 25465ac..1b039a9 100644 --- a/regalloc.c +++ b/regalloc.c @@ -12,7 +12,7 @@ // correct. As a heuristic, we spill a register whose last use is // furthest. // -// We then insert load and store instructions for spilled registesr. +// We then insert load and store instructions for spilled register. // The last register (num_regs-1'th register) is reserved for that // purpose.