From: Gabe Black Date: Mon, 23 Oct 2006 06:32:58 +0000 (-0400) Subject: Change the default constructors to take ExtMachInsts rather than regular MachInsts X-Git-Tag: m5_2.0_beta2~82 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3d6ff82552bf39257fac173e4e22814342ac5591;p=gem5.git Change the default constructors to take ExtMachInsts rather than regular MachInsts --HG-- extra : convert_revision : 8fa34f82e0cbf5ce81775d572b182826c578581f --- diff --git a/src/arch/sparc/isa/formats/basic.isa b/src/arch/sparc/isa/formats/basic.isa index 042201de4..a4c05387b 100644 --- a/src/arch/sparc/isa/formats/basic.isa +++ b/src/arch/sparc/isa/formats/basic.isa @@ -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;