GP-3266 Max jumptable entry option

This commit is contained in:
caheckman 2023-06-12 16:42:12 -04:00
parent 3b62fdaa95
commit d8b4f910ca
11 changed files with 93 additions and 12 deletions

View file

@ -64,6 +64,7 @@ extern ElementId ELEM_SPLITDATATYPE; ///< Marshaling element \<splitdatatype>
extern ElementId ELEM_STRUCTALIGN; ///< Marshaling element \<structalign>
extern ElementId ELEM_TOGGLERULE; ///< Marshaling element \<togglerule>
extern ElementId ELEM_WARNING; ///< Marshaling element \<warning>
extern ElementId ELEM_JUMPTABLEMAX; ///< Marshaling element \<jumptablemax>
/// \brief Base class for options classes that affect the configuration of the Architecture object
///
@ -293,6 +294,12 @@ public:
virtual string apply(Architecture *glb,const string &p1,const string &p2,const string &p3) const;
};
class OptionJumpTableMax : public ArchOption {
public:
OptionJumpTableMax(void) { name = "jumptablemax"; } ///< Constructor
virtual string apply(Architecture *glb,const string &p1,const string &p2,const string &p3) const;
};
class OptionJumpLoad : public ArchOption {
public:
OptionJumpLoad(void) { name = "jumpload"; } ///< Constructor