Logo Search packages:      
Sourcecode: ktechlab version File versions

bool Register::operator== ( const Register reg  )  const

equality between registers; name is only compared if both registers have type GPR.

Definition at line 369 of file instruction.cpp.

References name(), and type().

      if ( type() != reg.type() )
            return false;
      return name() == reg.name();

Generated by  Doxygen 1.6.0   Back to index