Change the default constructors to take ExtMachInsts rather than regular MachInsts
--HG-- extra : convert_revision : 8fa34f82e0cbf5ce81775d572b182826c578581f
This commit is contained in:
parent
0b5cf4ba6e
commit
3d6ff82552
1 changed files with 2 additions and 2 deletions
|
@ -50,14 +50,14 @@ def template BasicDeclare {{
|
|||
{
|
||||
public:
|
||||
// Constructor.
|
||||
%(class_name)s(MachInst machInst);
|
||||
%(class_name)s(ExtMachInst machInst);
|
||||
%(BasicExecDeclare)s
|
||||
};
|
||||
}};
|
||||
|
||||
// Basic instruction class constructor template.
|
||||
def template BasicConstructor {{
|
||||
inline %(class_name)s::%(class_name)s(MachInst machInst)
|
||||
inline %(class_name)s::%(class_name)s(ExtMachInst machInst)
|
||||
: %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
|
||||
{
|
||||
%(constructor)s;
|
||||
|
|
Loading…
Reference in a new issue