project64/Source/Project64-core/N64System/Recompiler/x64-86/x64RegInfo.cpp

51 lines
952 B
C++

#include "stdafx.h"
#if defined(__amd64__) || defined(_M_X64)
#include <Project64-core/N64System/Recompiler/x64-86/x64RegInfo.h>
CX64RegInfo::CX64RegInfo(CCodeBlock & /*CodeBlock*/, CX64Ops & /*Assembler*/)
{
}
CX64RegInfo::CX64RegInfo(const CX64RegInfo &)
{
g_Notify->BreakPoint(__FILE__, __LINE__);
}
CX64RegInfo::~CX64RegInfo()
{
}
CX64RegInfo & CX64RegInfo::operator=(const CX64RegInfo & right)
{
CRegBase::operator=(right);
#ifdef _DEBUG
if (*this != right)
{
g_Notify->BreakPoint(__FILE__, __LINE__);
}
#endif
return *this;
}
bool CX64RegInfo::operator==(const CX64RegInfo & Right) const
{
if (!CRegBase::operator==(Right))
{
return false;
}
return true;
}
bool CX64RegInfo::operator!=(const CX64RegInfo & Right) const
{
return !(Right == *this);
}
void CX64RegInfo::UnMap_GPR(uint32_t /*Reg*/, bool /*WriteBackValue*/)
{
g_Notify->BreakPoint(__FILE__, __LINE__);
}
#endif