summary refs log tree commit diff
path: root/spill.c
diff options
context:
space:
mode:
Diffstat (limited to 'spill.c')
-rw-r--r--spill.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/spill.c b/spill.c
index bda7532..dad18d2 100644
--- a/spill.c
+++ b/spill.c
@@ -240,13 +240,8 @@ reloads(BSet *u, BSet *v)
 static void
 store(Ref r, int s)
 {
-	static int kstore[] = {
-		[Kw] = OStorew, [Kl] = OStorel,
-		[Ks] = OStores, [Kd] = OStored,
-	};
-
 	if (s != -1)
-		emit(kstore[tmp[r.val].cls], 0, R, r, SLOT(s));
+		emit(OStorew + tmp[r.val].cls, 0, R, r, SLOT(s));
 }
 
 static int