Add a few miscellaneous comments.

This commit is contained in:
Dan Gohman
2018-08-11 07:22:38 -07:00
parent f34531ab36
commit d4a83576e4
2 changed files with 3 additions and 1 deletions

View File

@@ -217,6 +217,7 @@ fn callee_saved_gprs(isa: &TargetIsa) -> &'static [RU] {
}
}
/// Get the set of callee-saved registers that are used.
fn callee_saved_gprs_used(isa: &TargetIsa, func: &ir::Function) -> RegisterSet {
let mut all_callee_saved = RegisterSet::empty();
for reg in callee_saved_gprs(isa) {