- Added fixed registers that won't be freed automatically, so that parameters

can actually be used. In the end, all temporaries should be assigned to
  unique virtual registers, and a register allocator can alias them to real
  registers, but as long as we don't do any CSE, this is good enough for now.


SVN r1920 (scripting)
This commit is contained in:
Randy Heit 2009-10-15 23:11:54 +00:00
commit c424c61ffc
4 changed files with 53 additions and 63 deletions

View file

@ -50,9 +50,6 @@ public:
// Track available registers.
RegAvailability Registers[4];
// Free a register.
void FreeReg(int regtype, int regnum) { Registers[regtype].Return(regnum, 1); }
private:
struct AddrKonst
{