qbe

Internal scc patchset buffer for QBE
Log | Files | Refs | README | LICENSE

commit 2ee3d2ec2ef64ef35e60d6d88ad61303dd0ba70d
parent e400e177b60cfe3da56c12aca0a9321c2acabcfe
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date:   Mon, 22 Feb 2016 14:00:21 -0500

cosmetics

Diffstat:
Mlisc/spill.c | 8+++-----
1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/lisc/spill.c b/lisc/spill.c @@ -242,13 +242,11 @@ sethint(Bits *u, ulong r) static void reloads(Bits *u, Bits *v) { - int t, k; + int t; for (t=Tmp0; t<ntmp; t++) - if (BGET(*u, t) && !BGET(*v, t)) { - k = tmp[t].cls; - emit(OLoad, k, TMP(t), slot(t), R); - } + if (BGET(*u, t) && !BGET(*v, t)) + emit(OLoad, tmp[t].cls, TMP(t), slot(t), R); } static void