summaryrefslogtreecommitdiff
path: root/src/cpu/minor
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/minor')
-rw-r--r--src/cpu/minor/execute.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/minor/execute.cc b/src/cpu/minor/execute.cc
index 706fdf010..ea325e28c 100644
--- a/src/cpu/minor/execute.cc
+++ b/src/cpu/minor/execute.cc
@@ -150,7 +150,7 @@ Execute::Execute(const std::string &name_,
}
/** Check that there is a functional unit for all operation classes */
- for (int op_class = No_OpClass + 1; op_class < Num_OpClass; op_class++) {
+ for (int op_class = No_OpClass + 1; op_class < Num_OpClasses; op_class++) {
bool found_fu = false;
unsigned int fu_index = 0;