qbe

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

commit bba9cf47c9badfb0b41c63764415ba7a3fe46d2d
parent a244ca17f1c4e81a92d26119d4f0b5137e93476b
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date:   Mon, 20 Jul 2015 05:20:20 -0400

fix small type issues

Diffstat:
Mlisc/isel.c | 3++-
Mlisc/lisc.h | 2+-
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/lisc/isel.c b/lisc/isel.c @@ -80,7 +80,8 @@ isel(Fn *fn) { Blk *b; Ins *i; - int t0, t, nins; + int t0, t; + uint nins; t0 = fn->ntmp; for (b=fn->start; b; b=b->link) { diff --git a/lisc/lisc.h b/lisc/lisc.h @@ -142,7 +142,7 @@ struct Sym { STmp, } type; char name[NString]; - int ndef, nuse; + uint ndef, nuse; }; struct Fn {