ruby: change function signature for functional_read/write
Review Request #3422 - Created April 4, 2016 and updated
Information | |
---|---|
Brandon Potter | |
gem5 | |
default | |
Reviewers | |
Default | |
Changeset 11424:6901103f7f04 --------------------------- ruby: change function signature for functional_read/write The functional_read and function_write functions within Ruby will occasionally use methods which rely on knowing the block size so we add the block size as a parameter. To avoid special casing large sections of the SLICC code, we propagate the change to all instances of these functions (even when the parameter is not used).
Posted (April 11, 2016, 1:51 p.m.)
Could you point out where this parameter is used? I'm having a hard time finding it in this patch.
Without seeing where the parameter is used, I feel like there has to be a better way! Surely we can find a way to modify the few places this information is needed rather than changing every file.