diff options
Diffstat (limited to 'src/cpu/minor/exec_context.hh')
-rw-r--r-- | src/cpu/minor/exec_context.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpu/minor/exec_context.hh b/src/cpu/minor/exec_context.hh index 184dd2910..9b347b225 100644 --- a/src/cpu/minor/exec_context.hh +++ b/src/cpu/minor/exec_context.hh @@ -116,6 +116,7 @@ class ExecContext : public ::ExecContext const std::vector<bool>& byteEnable = std::vector<bool>()) override { + assert(byteEnable.empty() || byteEnable.size() == size); return execute.getLSQ().pushRequest(inst, true /* load */, nullptr, size, addr, flags, nullptr, nullptr, byteEnable); } |