qbe

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

commit 417255cff105a2f4f86424690acd3b10aa3d38e8
parent d0ccaeb8318d675d438e7e3d3d6d4a9a63cd13dc
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date:   Sun, 27 Dec 2015 14:13:00 -0500

get rid of the Ty enum

Diffstat:
Mlisc/lisc.h | 26+++++++++++---------------
1 file changed, 11 insertions(+), 15 deletions(-)

diff --git a/lisc/lisc.h b/lisc/lisc.h @@ -154,17 +154,6 @@ static inline int isreg(Ref r) enum Cmp { CMPS(X) NCmp }; #undef X -enum Ty { - Tl, - Tsw, - Tuw, - Tsh, - Tuh, - Tsb - Tub, - NTy -}; - enum Class { Kw, Kl, @@ -194,7 +183,8 @@ enum Op { OStorew, OStoreh, OStoreb, - + OStore = OStored, + OStore1 = OStoreb, OLoadl, OLoadsw, OLoaduw, @@ -206,9 +196,15 @@ enum Op { OLoads, OLoad = OLoadl, OLoad1 = OLoads, - - OExt, - OExt1 = OExt + NTy-1, + OExtl, + OExtsw, + OExtuw, + OExtsh, + OExtuh, + OExtsb, + OExtub, + OExt = OExtl, + OExt1 = OExtub, OAlloc, OAlloc1 = OAlloc + NAlign-1,