reg_alloc: const correctness (#8)

This commit is contained in:
Mat M
2016-09-02 12:30:01 -04:00
committed by Merry
parent ba04be5071
commit 1e781d911a
2 changed files with 3 additions and 3 deletions

View File

@@ -156,7 +156,7 @@ private:
boost::optional<HostLoc> ValueLocation(const IR::Inst* value) const;
bool IsRegisterOccupied(HostLoc loc) const;
bool IsRegisterAllocated(HostLoc loc) const;
bool IsLastUse(IR::Inst* inst) const;
bool IsLastUse(const IR::Inst* inst) const;
HostLoc DefHostLocReg(IR::Inst* def_inst, HostLocList desired_locations);
HostLoc UseDefHostLocReg(IR::Value use_value, IR::Inst* def_inst, HostLocList desired_locations);