summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/abstract_hardware_model.h')
-rw-r--r--src/abstract_hardware_model.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h
index 90ae448..6d431fc 100644
--- a/src/abstract_hardware_model.h
+++ b/src/abstract_hardware_model.h
@@ -1319,7 +1319,7 @@ class register_set {
bool has_ready(bool sub_core_model, unsigned reg_id) {
if (!sub_core_model) return has_ready();
assert(reg_id < regs.size());
- return (not regs[reg_id]->empty())
+ return (not regs[reg_id]->empty());
}
unsigned get_ready_reg_id() {
@@ -1388,7 +1388,7 @@ class register_set {
warp_inst_t **ready;
ready = NULL;
assert(reg_id < regs.size());
- if (not regs[reg_id]->empty)
+ if (not regs[reg_id]->empty())
ready = &regs[reg_id];
return ready;
}