[llvm-commits] [hlvm] r38334 - /hlvm/trunk/hlvm/Pass/Validate.cpp

Reid Spencer reid at x10sys.com
Sat Jul 7 17:02:26 PDT 2007


Author: reid
Date: Sat Jul  7 19:02:26 2007
New Revision: 38334

URL: http://llvm.org/viewvc/llvm-project?rev=38334&view=rev
Log:
Terminating instructions don't have to be in a block so remove the check.

Modified:
    hlvm/trunk/hlvm/Pass/Validate.cpp

Modified: hlvm/trunk/hlvm/Pass/Validate.cpp
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/Pass/Validate.cpp?rev=38334&r1=38333&r2=38334&view=diff

==============================================================================
--- hlvm/trunk/hlvm/Pass/Validate.cpp (original)
+++ hlvm/trunk/hlvm/Pass/Validate.cpp Sat Jul  7 19:02:26 2007
@@ -190,9 +190,6 @@
       error(n,"Terminating operator is not last operator in block");
       return false;
     }
-  } else {
-    error(n,"Operator not in block!");
-    return false;
   }
   return true;
 }





More information about the llvm-commits mailing list