Mark some functions as const

This commit is contained in:
Lioncash committed 2014-12-07 17:08:13 -05:00
1 parent f7baec317c
commit a962bc5a6c
14 files changed
+34 -34

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ void PpcRegCache::Start(MIPSAnalyst::AnalysisResults &stats) {
}
}
const PPCReg *PpcRegCache::GetMIPSAllocationOrder(int &count) {
const PPCReg *PpcRegCache::GetMIPSAllocationOrder(int &count) const {
// Note that R0 is reserved as scratch for now.
// R1 could be used as it's only used for scratch outside "regalloc space" now.
// R12 is also potentially usable.