quick fix for comparisons with constants

This commit is contained in:
Quentin Carbonneaux 2015-08-05 12:47:10 -04:00
parent 246a48ba94
commit 9c7b06d68f
5 changed files with 22 additions and 7 deletions

View file

@ -108,9 +108,13 @@ static inline int rtype(Ref r)
enum {
Ceq,
Csle,
Csgt, /* mirror opposite cmps! */
Cne,
NCmp,
};
#define CNEG(c) (NCmp-1 - c)
enum {
OXXX,
/* public instruction */