diff options
author | Chris Lattner <sabre@nondot.org> | 2002-06-25 16:13:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-06-25 16:13:24 +0000 |
commit | 113f4f4609335e1241b2a3b1bab70b470f322148 (patch) | |
tree | 22aad567b22fa1564ca74d2a0c4582df4f6d2e81 /llvm/lib/VMCore/iBranch.cpp | |
parent | 7076ff29ed02c3472e82575594386739a4bb3e34 (diff) | |
download | bcm5719-llvm-113f4f4609335e1241b2a3b1bab70b470f322148.tar.gz bcm5719-llvm-113f4f4609335e1241b2a3b1bab70b470f322148.zip |
MEGAPATCH checkin.
For details, See: docs/2002-06-25-MegaPatchInfo.txt
llvm-svn: 2779
Diffstat (limited to 'llvm/lib/VMCore/iBranch.cpp')
-rw-r--r-- | llvm/lib/VMCore/iBranch.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/llvm/lib/VMCore/iBranch.cpp b/llvm/lib/VMCore/iBranch.cpp index 7a352eeb46e..fe5c060c8d8 100644 --- a/llvm/lib/VMCore/iBranch.cpp +++ b/llvm/lib/VMCore/iBranch.cpp @@ -7,10 +7,7 @@ #include "llvm/iTerminators.h" #include "llvm/BasicBlock.h" -#ifndef NDEBUG -#include "llvm/Type.h" // Only used for assertions... -#include <iostream> -#endif +#include "llvm/Type.h" BranchInst::BranchInst(BasicBlock *True, BasicBlock *False, Value *Cond) : TerminatorInst(Instruction::Br) { @@ -24,14 +21,6 @@ BranchInst::BranchInst(BasicBlock *True, BasicBlock *False, Value *Cond) assert(!!False == !!Cond && "Either both cond and false or neither can be specified!"); - -#ifndef NDEBUG - if (Cond != 0 && Cond->getType() != Type::BoolTy) { - std::cerr << "Bad Condition: "; - Cond->dump(); - std::cerr << "\n"; - } -#endif assert((Cond == 0 || Cond->getType() == Type::BoolTy) && "May only branch on boolean predicates!!!!"); } |