summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBrandon Potter <brandon.potter@amd.com>2018-02-19 14:49:05 -0500
committerBrandon Potter <Brandon.Potter@amd.com>2018-08-17 17:19:12 +0000
commit4c35b42d2fb6f7588dbd56f0dde64b32ce1adafb (patch)
tree1bd1d23b9b01168fd0790649b8c68eb0fb04f2dd /tests
parent28d65f8075ddc024048062166c4ea0ccf6034f28 (diff)
downloadgem5-4c35b42d2fb6f7588dbd56f0dde64b32ce1adafb.tar.xz
ruby: remove unused code inside '#if 0 ... #endif'
The commented code contains bitrot. It is not clear how to fix the code so remove it. The code will not compile if the preprocessor defines are removed. The llocker and uulocker variables that are used as indices into the persistent_randomize array are undefined. It's not clear what they should be from the current code. 5ab13e2deb shows when the lines were last modified. The functionality contained in the comments probably have not been used since that time. (This is an example of why one should never add commented code that is enabled by removing defines. The code rots and sits in the source forever.) Change-Id: I3e0e7c9afc0b6088130e6f319075809fb6f16e5a Reviewed-on: https://gem5-review.googlesource.com/8481 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions