summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa/formats/string.isa
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/isa/formats/string.isa')
-rw-r--r--src/arch/x86/isa/formats/string.isa2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/isa/formats/string.isa b/src/arch/x86/isa/formats/string.isa
index 20de5952e..84048c8ec 100644
--- a/src/arch/x86/isa/formats/string.isa
+++ b/src/arch/x86/isa/formats/string.isa
@@ -86,7 +86,7 @@ def format StringInst(*opTypeSet) {{
} else if (LEGACY_REPNE) {
// The repne prefix is illegal
return new MicroFault(machInst, "illprefix", 0,
- new InvalidOpcode, 0);
+ std::make_shared<InvalidOpcode>(), 0);
} else {
%s
}