summaryrefslogtreecommitdiff
path: root/arch/sparc/isa_traits.hh
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/isa_traits.hh')
-rw-r--r--arch/sparc/isa_traits.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sparc/isa_traits.hh b/arch/sparc/isa_traits.hh
index 0955abb3a..4886da7cf 100644
--- a/arch/sparc/isa_traits.hh
+++ b/arch/sparc/isa_traits.hh
@@ -98,6 +98,11 @@ namespace SparcISA
typedef uint32_t MachInst;
typedef uint64_t ExtMachInst;
+ inline ExtMachInst
+ makeExtMI(MachInst inst, const Addr &pc) {
+ return ExtMachInst(inst);
+ }
+
const int NumIntRegs = 32;
const int NumFloatRegs = 64;
const int NumMiscRegs = 32;