diff options
-rw-r--r-- | passes/proc/proc_dlatch.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/passes/proc/proc_dlatch.cc b/passes/proc/proc_dlatch.cc index 228f518c5..e1bbab545 100644 --- a/passes/proc/proc_dlatch.cc +++ b/passes/proc/proc_dlatch.cc @@ -78,8 +78,10 @@ struct proc_dlatch_db_t } }; - const int true_node = 1; - const int false_node = 2; + enum tf_node_types_t : int { + true_node = 1, + false_node = 2 + }; idict<rule_node_t, 3> rules_db; dict<int, SigBit> rules_sig; |