summaryrefslogtreecommitdiff
path: root/src/arch/mips/isa
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/mips/isa')
-rw-r--r--src/arch/mips/isa/formats/trap.isa8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/arch/mips/isa/formats/trap.isa b/src/arch/mips/isa/formats/trap.isa
index 6692e8ef8..8a9c5822a 100644
--- a/src/arch/mips/isa/formats/trap.isa
+++ b/src/arch/mips/isa/formats/trap.isa
@@ -70,11 +70,9 @@ def template TrapExecute {{
}};
def format Trap(code, *flags) {{
- warn_code = 'warn(\"'
- warn_code += 'Trap Exception Handler Is Currently Not Implemented.'
- warn_code += '\");'
- code = warn_code + "bool " + code
-
+ code = 'warn(\"'
+ code += 'Trap Exception Handler Is Currently Not Implemented.'
+ code += '\");'
iop = InstObjParams(name, Name, 'MipsStaticInst', CodeBlock(code), flags)
header_output = BasicDeclare.subst(iop)
decoder_output = BasicConstructor.subst(iop)