Logo Search packages:      
Sourcecode: ktechlab version File versions

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

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

Definition at line 360 of file instruction.cpp.

References name(), and type().

      if ( (type() != GPR) || (reg.type() != GPR) )
            return type() < reg.type();
      return name() < reg.name();

Generated by  Doxygen 1.6.0   Back to index