Files
BlitzNext/compiler/codegen_x86/tile.h
T
blitz-research 08a613ed0e Initial commit.
2014-01-31 08:23:00 +13:00

26 lines
345 B
C++

#ifndef TILE_H
#define TILE_H
enum{ EAX=1,ECX,EDX,EDI,ESI,EBX };
struct Tile{
int want_l,want_r,hits,argFrame;
Tile( const string &a,Tile *l=0,Tile *r=0 );
Tile( const string &a,const string &a2,Tile *l=0,Tile *r=0 );
~Tile();
void label();
int eval( int want );
private:
int need;
Tile *l,*r;
string assem,assem2;
};
#endif