add basic support for stack allocation

This commit is contained in:
Quentin Carbonneaux 2015-08-12 15:25:53 -04:00
parent 8be35bf2be
commit 78bf28f56e
4 changed files with 54 additions and 3 deletions

View file

@ -126,6 +126,7 @@ enum {
OSub,
ODiv,
ORem,
OAnd,
OCmp,
OCmp1 = OCmp + NCmp-1,
OStorel,
@ -138,6 +139,7 @@ enum {
OLoadsb,
OLoadub,
OCopy,
OAlloc,
NPubOp,
/* reserved instructions */