Review Board 2.0.15


ruby: slicc: have a static MachineType

Review Request #2551 - Created Dec. 4, 2014 and discarded - Latest diff uploaded

Information
Nilay Vaish
gem5
default
Reviewers
Default
Changeset 10594:b25131489b95
---------------------------
ruby: slicc: have a static MachineType
This patch moves from a dynamically defined MachineType to a statically
defined one.  The need for this patch was felt since a dynamically defined
type prevents us from having types for which no machine definition may
exist.

The following changes have been made:
i. each machine definition now uses a type from the MachineType enumeration
instead of any random identifier.  This required changing the grammar and the
*.sm files.

ii. MachineType enumeration defined statically in RubySlicc_Exports.sm.