thread_count_ -> size_t

Signed-off-by: James Cherry <[email protected]>
This commit is contained in:
James Cherry
2026-07-19 10:28:43 -07:00
parent dc5ccd2d69
commit 4f2c3d4ca5
4 changed files with 10 additions and 9 deletions
+5 -4
View File
@@ -287,15 +287,16 @@ public:
void setIsCheckClk(bool is_check_clk);
[[nodiscard]] bool hasDownstreamClkPin() const { return has_downstream_clk_pin_; }
void setHasDownstreamClkPin(bool has_clk_pin);
[[nodiscard]] bool bfsInQueue(BfsIndex index) const;
void setBfsInQueue(BfsIndex index, bool value);
bool bfsPredecessorChanged() const { return bfs_predecessor_changed_; }
void setBfsPredecessorChanged(bool changed);
[[nodiscard]] bool isRegClk() const { return is_reg_clk_; }
// Has sim value in some mode.
[[nodiscard]] bool hasSimValue() const { return has_sim_value_; }
void setHasSimValue(bool has_sim);
[[nodiscard]] bool bfsInQueue(BfsIndex index) const;
void setBfsInQueue(BfsIndex index, bool value);
[[nodiscard]] bool bfsPredecessorChanged() const { return bfs_predecessor_changed_; }
void setBfsPredecessorChanged(bool changed);
// ObjectTable interface.
[[nodiscard]] ObjectIdx objectIdx() const { return object_idx_; }
void setObjectIdx(ObjectIdx idx);
+2 -2
View File
@@ -100,7 +100,7 @@ public:
const DelayOps *delayOps() const { return delay_ops_; }
Latches *latches() { return latches_; }
Latches *latches() const { return latches_; }
unsigned threadCount() const { return thread_count_; }
size_t threadCount() const { return thread_count_; }
bool crprActive(const Mode *mode) const;
Variables *variables() { return variables_; }
const Variables *variables() const { return variables_; }
@@ -139,7 +139,7 @@ protected:
DelayOps *delay_ops_;
Latches *latches_;
Variables *variables_;
int thread_count_;
size_t thread_count_;
DispatchQueue *dispatch_queue_;
};