summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--lisc/spill.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisc/spill.c b/lisc/spill.c
index 8ba1031..40bd326 100644
--- a/lisc/spill.c
+++ b/lisc/spill.c
@@ -319,6 +319,11 @@ spill(Fn *fn)
 			tmp[p->to.val].wide = p->wide;
 		for (i=b->ins; i-b->ins < b->nins; i++)
 			if (rtype(i->to) == RTmp)
+				/* Note: this only works because
+				 * all OCmp operations were eliminated
+				 * indeed, the wide bit of those refer
+				 * to the size of the operands
+				 */
 				tmp[i->to.val].wide = i->wide;
 	}