diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-04-04 14:45:49 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-04-04 14:45:49 -0400 |
commit | 74562a93debff6954f16a4c3434efa69d37c954b (patch) | |
tree | 245c03672bc2c895eff933de2262d111c2a18ebb /spill.c | |
parent | f71206500c6693eed4393d72e8ab95d6a7e07d98 (diff) | |
download | roux-74562a93debff6954f16a4c3434efa69d37c954b.tar.gz |
reorder instructions
Diffstat (limited to 'spill.c')
-rw-r--r-- | spill.c | 7 |
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 |