summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Common/x64EmitterTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/UnitTests/Common/x64EmitterTest.cpp')
-rw-r--r--Source/UnitTests/Common/x64EmitterTest.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/UnitTests/Common/x64EmitterTest.cpp b/Source/UnitTests/Common/x64EmitterTest.cpp
index 1f7d08f114..8f9ee2f547 100644
--- a/Source/UnitTests/Common/x64EmitterTest.cpp
+++ b/Source/UnitTests/Common/x64EmitterTest.cpp
@@ -101,6 +101,11 @@ protected:
disasm->set_syntax_intel();
}
+ void TearDown() override
+ {
+ cpu_info = CPUInfo();
+ }
+
void ExpectDisassembly(const std::string& expected)
{
std::string disasmed;