1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Reduce the size of the ExprMapKeyType class.

llvm-svn: 32186
This commit is contained in:
Reid Spencer 2006-12-04 18:38:05 +00:00
parent f291841793
commit 94096ebd7c

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 &&