simplify parsing

This commit is contained in:
Quentin Carbonneaux 2015-08-08 18:32:03 -04:00
parent 76bf96b268
commit e5c68a88ce
3 changed files with 20 additions and 49 deletions

View file

@ -120,6 +120,7 @@ enum {
enum {
OXXX,
/* public instruction */
OAdd,
OSub,
@ -135,9 +136,11 @@ enum {
OLoadus,
OLoadsb,
OLoadub,
/* reserved instructions */
ONop,
OCopy,
NPubOp,
/* reserved instructions */
ONop = NPubOp,
OSwap,
OSign,
OXDiv,
@ -145,7 +148,7 @@ enum {
OXCmpl,
OXSet,
OXSet1 = OXSet + NCmp-1,
OLast
NOp
};
enum {