mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 00:21:03 +00:00
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:
@@ -1359,10 +1359,10 @@ void UndefValue::destroyConstant() {
|
|||||||
//
|
//
|
||||||
struct ExprMapKeyType {
|
struct ExprMapKeyType {
|
||||||
explicit ExprMapKeyType(unsigned opc, std::vector<Constant*> ops,
|
explicit ExprMapKeyType(unsigned opc, std::vector<Constant*> ops,
|
||||||
unsigned short pred = 0) : opcode(opc), operands(ops), predicate(pred) { }
|
unsigned short pred = 0) : opcode(opc), predicate(pred), operands(ops) { }
|
||||||
unsigned opcode;
|
uint16_t opcode;
|
||||||
|
uint16_t predicate;
|
||||||
std::vector<Constant*> operands;
|
std::vector<Constant*> operands;
|
||||||
unsigned short predicate;
|
|
||||||
bool operator==(const ExprMapKeyType& that) const {
|
bool operator==(const ExprMapKeyType& that) const {
|
||||||
return this->opcode == that.opcode &&
|
return this->opcode == that.opcode &&
|
||||||
this->predicate == that.predicate &&
|
this->predicate == that.predicate &&
|
||||||
|
Reference in New Issue
Block a user