[llvm-commits] [llvm] r71834 - /llvm/trunk/utils/TableGen/Record.cpp

Nick Lewycky nicholas at mxc.ca
Thu May 14 20:07:25 PDT 2009


Author: nicholas
Date: Thu May 14 22:07:14 2009
New Revision: 71834

URL: http://llvm.org/viewvc/llvm-project?rev=71834&view=rev
Log:
Fix warning.

Modified:
    llvm/trunk/utils/TableGen/Record.cpp

Modified: llvm/trunk/utils/TableGen/Record.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/Record.cpp?rev=71834&r1=71833&r2=71834&view=diff

==============================================================================
--- llvm/trunk/utils/TableGen/Record.cpp (original)
+++ llvm/trunk/utils/TableGen/Record.cpp Thu May 14 22:07:14 2009
@@ -791,7 +791,7 @@
     assert(0 && "No typed variable for !foreach");
   }
 
-  if (MHSd && DagType || MHSl && ListType) {
+  if ((MHSd && DagType) || (MHSl && ListType)) {
     if (MHSd) {
       Init *Val = MHSd->getOperator();
       Init *Result = EvaluateOperation(RHSo, LHS, Val,





More information about the llvm-commits mailing list