ruby: remove typedef of Index as int64
Review Request #2350 - Created Aug. 15, 2014 and submitted
| Information | |
|---|---|
| Nilay Vaish | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 10294:b79de412799b --------------------------- ruby: remove typedef of Index as int64 The Index type defined as typedef int64 does not really provide any help since in most places we use primitive types instead of Index. Also, the name Index is very generic that it does not merit being used as a typename.
Posted (Aug. 24, 2014, 7:08 a.m.)
-
src/mem/ruby/common/TypeDefines.hh (Diff revision 1) -
It would be nice to prune these as well and rely in the established uint64_t int64_t etc.
In STL all index types tends to be size_t. Is there a reason for not using that here?
Ship It!
