From: Reid Spencer Date: Mon, 4 Dec 2006 18:38:05 +0000 (+0000) Subject: Reduce the size of the ExprMapKeyType class. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8d5a6ae171b17a6951e4256594702c2d4eadeedd;p=oota-llvm.git Reduce the size of the ExprMapKeyType class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32186 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/Constants.cpp b/lib/VMCore/Constants.cpp index 4d833caf5e3..17a5eaeabf3 100644 --- a/lib/VMCore/Constants.cpp +++ b/lib/VMCore/Constants.cpp @@ -1359,10 +1359,10 @@ void UndefValue::destroyConstant() { // struct ExprMapKeyType { explicit ExprMapKeyType(unsigned opc, std::vector 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 operands; - unsigned short predicate; bool operator==(const ExprMapKeyType& that) const { return this->opcode == that.opcode && this->predicate == that.predicate &&