[llvm-commits] CVS: llvm/lib/VMCore/Constants.cpp
Reid Spencer
reid at x10sys.com
Mon Dec 4 10:38:19 PST 2006
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.176 -> 1.177
---
Log message:
Reduce the size of the ExprMapKeyType class.
---
Diffs of the changes: (+3 -3)
Constants.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Index: llvm/lib/VMCore/Constants.cpp
diff -u llvm/lib/VMCore/Constants.cpp:1.176 llvm/lib/VMCore/Constants.cpp:1.177
--- llvm/lib/VMCore/Constants.cpp:1.176 Sun Dec 3 23:19:50 2006
+++ llvm/lib/VMCore/Constants.cpp Mon Dec 4 12:38:05 2006
@@ -1359,10 +1359,10 @@
//
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 &&
More information about the llvm-commits
mailing list