reg_alloc: Reimplement UseScratchHostLocReg

This commit is contained in:
MerryMage
2017-02-24 19:58:16 +00:00
parent e1d8238c50
commit 9518bbe06e
2 changed files with 20 additions and 31 deletions

View File

@@ -156,6 +156,7 @@ private:
HostLoc LoadImmediateIntoHostLocReg(IR::Value imm, HostLoc reg);
void Move(HostLoc to, HostLoc from);
void CopyToScratch(HostLoc to, HostLoc from);
void Exchange(HostLoc a, HostLoc b);
void MoveOutOfTheWay(HostLoc reg);