From 148f3e3e7efd143b7311f562b9c527a450b4a3b9 Mon Sep 17 00:00:00 2001
From: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date: Wed, 25 Nov 2015 10:44:59 -0500
Subject: [PATCH] add note about comparisons in spill

---
 lisc/spill.c | 5 +++++
 1 file changed, 5 insertions(+)

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;
 	}