summaryrefslogtreecommitdiff
path: root/lib/Bytecode
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-04-08 21:59:36 +0000
committerChris Lattner <sabre@nondot.org>2002-04-08 21:59:36 +0000
commit35e309ab01a91af7b8c5d4268741222bcffbbb21 (patch)
treed2f9b8f1322b6e711f8c4b97f72d82ba1a621603 /lib/Bytecode
parentc8a79af27df2a24b2bb496997194aa35bba70432 (diff)
downloadllvm-35e309ab01a91af7b8c5d4268741222bcffbbb21.tar.gz
llvm-35e309ab01a91af7b8c5d4268741222bcffbbb21.tar.bz2
llvm-35e309ab01a91af7b8c5d4268741222bcffbbb21.tar.xz
llvm/Assembly/Writer.h is unneccesary except for extreme output
isLabelType is obsolete git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2176 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode')
-rw-r--r--lib/Bytecode/Reader/ReaderInternals.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Bytecode/Reader/ReaderInternals.h b/lib/Bytecode/Reader/ReaderInternals.h
index 47cde2adc0..75cba07ba8 100644
--- a/lib/Bytecode/Reader/ReaderInternals.h
+++ b/lib/Bytecode/Reader/ReaderInternals.h
@@ -21,7 +21,6 @@
#define TRACE_LEVEL 0
#if TRACE_LEVEL // ByteCodeReading_TRACEer
-#include "llvm/Assembly/Writer.h"
#define BCR_TRACE(n, X) if (n < TRACE_LEVEL) cerr << std::string(n*2, ' ') << X
#else
#define BCR_TRACE(n, X)
@@ -143,7 +142,7 @@ struct InstPlaceHolderHelper : public Instruction {
struct BBPlaceHolderHelper : public BasicBlock {
BBPlaceHolderHelper(const Type *Ty) : BasicBlock() {
- assert(Ty->isLabelType());
+ assert(Ty == Type::LabelTy);
}
};