x86emitter: remove not virtual inherited function

IsSIMD isn't virtual
This commit is contained in:
Gregory Hainaut 2016-01-16 19:06:44 +01:00
parent 38c548854e
commit 2fea78a6c4
1 changed files with 6 additions and 6 deletions

View File

@ -250,7 +250,9 @@ template< typename T > void xWrite( T val );
explicit xRegisterBase( int regId ) explicit xRegisterBase( int regId )
{ {
Id = regId; Id = regId;
pxAssert( (Id >= xRegId_Empty) && (Id < 8) ); // Note: to avoid tons of ifdef, the 32 bits build will instantiate
// all 16x64 bits registers.
pxAssert( (Id >= xRegId_Empty) && (Id < 16) );
} }
bool IsEmpty() const { return Id < 0 ; } bool IsEmpty() const { return Id < 0 ; }
@ -284,8 +286,6 @@ template< typename T > void xWrite( T val );
explicit xRegisterInt( const xRegisterBase& src ) : _parent( src ) {} explicit xRegisterInt( const xRegisterBase& src ) : _parent( src ) {}
explicit xRegisterInt( int regId ) : _parent( regId ) { } explicit xRegisterInt( int regId ) : _parent( regId ) { }
bool IsSIMD() const { return false; }
bool operator==( const xRegisterInt& src ) const { return Id == src.Id && (GetOperandSize() == src.GetOperandSize()); } bool operator==( const xRegisterInt& src ) const { return Id == src.Id && (GetOperandSize() == src.GetOperandSize()); }
bool operator!=( const xRegisterInt& src ) const { return !operator==(src); } bool operator!=( const xRegisterInt& src ) const { return !operator==(src); }
}; };
@ -569,7 +569,7 @@ template< typename T > void xWrite( T val );
/*xAddressInfo( const xAddressVoid& src ) /*xAddressInfo( const xAddressVoid& src )
: _parent( src ) {}*/ : _parent( src ) {}*/
explicit xAddressInfo( const xAddressReg& index, int displacement=0 ) explicit xAddressInfo( const xAddressReg& index, int displacement=0 )
: _parent( index, displacement ) {} : _parent( index, displacement ) {}
@ -709,8 +709,8 @@ template< typename T > void xWrite( T val );
protected: protected:
void Reduce(); void Reduce();
}; };
template< typename OperandType > template< typename OperandType >
class xIndirect : public xIndirectVoid class xIndirect : public xIndirectVoid
{ {
typedef xIndirectVoid _parent; typedef xIndirectVoid _parent;