Reduce the size of the ExprMapKeyType class.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32186 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2006-12-04 18:38:05 +00:00
parent b212dceb6b
commit 8d5a6ae171

View File

@ -1359,10 +1359,10 @@ void UndefValue::destroyConstant() {
//
struct ExprMapKeyType {
explicit ExprMapKeyType(unsigned opc, std::vector<Constant*> ops,
unsigned short pred = 0) : opcode(opc), operands(ops), predicate(pred) { }
unsigned opcode;
unsigned short pred = 0) : opcode(opc), predicate(pred), operands(ops) { }
uint16_t opcode;
uint16_t predicate;
std::vector<Constant*> operands;
unsigned short predicate;
bool operator==(const ExprMapKeyType& that) const {
return this->opcode == that.opcode &&
this->predicate == that.predicate &&