Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.191 -> 1.192 --- Log message: Fix some comments. --- Diffs of the changes: (+2 -2) Constants.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/VMCore/Constants.cpp diff -u llvm/lib/VMCore/Constants.cpp:1.191 llvm/lib/VMCore/Constants.cpp:1.192 --- llvm/lib/VMCore/Constants.cpp:1.191 Sat Dec 23 00:05:41 2006 +++ llvm/lib/VMCore/Constants.cpp Sun Dec 24 12:42:29 2006 @@ -1818,7 +1818,7 @@ std::vector<Constant*> ArgVec; ArgVec.push_back(LHS); ArgVec.push_back(RHS); - // Fake up an opcode value that encodes both the opcode and predicate + // Get the key type with both the opcode and predicate const ExprMapKeyType Key(Instruction::ICmp, ArgVec, pred); return ExprConstants->getOrCreate(Type::BoolTy, Key); } @@ -1835,7 +1835,7 @@ std::vector<Constant*> ArgVec; ArgVec.push_back(LHS); ArgVec.push_back(RHS); - // Fake up an opcode value that encodes both the opcode and predicate + // Get the key type with both the opcode and predicate const ExprMapKeyType Key(Instruction::FCmp, ArgVec, pred); return ExprConstants->getOrCreate(Type::BoolTy, Key); } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits