Skip to content

Commit 215af16

Browse files
committed
change function to const
1 parent 29ddbe3 commit 215af16

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

core/lsu/LSU.hpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ namespace olympia
7676

7777
//! name of this resource.
7878
static const char name[];
79+
80+
// return allow_data_forwarding for test
81+
const bool allow_data_forwarding_ex() {
82+
return allow_data_forwarding_;
83+
}
84+
7985
////////////////////////////////////////////////////////////////////////////////
8086
// Type Name/Alias Declaration
8187
////////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)