mirror of
https://github.com/open-goal/jak-project
synced 2026-08-21 23:00:45 -04:00
add reginfo to basic ops
This commit is contained in:
@@ -699,4 +699,14 @@ int Function::get_failed_basic_op_count() {
|
||||
}
|
||||
}
|
||||
return count;
|
||||
}
|
||||
|
||||
int Function::get_reginfo_basic_op_count() {
|
||||
int count = 0;
|
||||
for (auto& x : basic_ops) {
|
||||
if (x->reg_info_set) {
|
||||
count++;
|
||||
}
|
||||
}
|
||||
return count;
|
||||
}
|
||||
Reference in New Issue
Block a user