diff options
| author | Aaron M Barnes <[email protected]> | 2021-05-12 12:53:36 -0400 |
|---|---|---|
| committer | Aaron M Barnes <[email protected]> | 2021-05-12 12:53:36 -0400 |
| commit | 6ae23912133b158670343da08469747cefef97d1 (patch) | |
| tree | 662135568419971b00d72ac705e327ef9766e8b7 /src/abstract_hardware_model.h | |
| parent | 9b6af844b8adc5d15bd793646c18a7b1d9593890 (diff) | |
fix prints / segfault
Diffstat (limited to 'src/abstract_hardware_model.h')
| -rw-r--r-- | src/abstract_hardware_model.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h index e9da429..129ed69 100644 --- a/src/abstract_hardware_model.h +++ b/src/abstract_hardware_model.h @@ -1370,6 +1370,7 @@ class register_set { void move_out_to(bool sub_core_model, unsigned reg_id, warp_inst_t *&dest) { if (!sub_core_model) { return move_out_to(dest);} warp_inst_t **ready = get_ready(sub_core_model, reg_id); + assert(ready != NULL); move_warp(dest, *ready); } |
