mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +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:
parent
b212dceb6b
commit
8d5a6ae171
@ -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 &&
|
||||
|
Loading…
Reference in New Issue
Block a user