summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Writer
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-05-26 07:37:11 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-05-26 07:37:11 +0000
commit0aff01a2391161e7161afe7903a09c591c57b2dd (patch)
tree12cb8c9e714d5189d2aff97b00ac331aa4c9a120 /llvm/lib/Bytecode/Writer
parent16f2f7fba0e43c77b8671f45b0e08d79dcf19a57 (diff)
downloadbcm5719-llvm-0aff01a2391161e7161afe7903a09c591c57b2dd.tar.gz
bcm5719-llvm-0aff01a2391161e7161afe7903a09c591c57b2dd.zip
Part of bug 122:
This change removes the BuildBytecodeInfo flag from the SlotCalculator class. This flag was needed to distinguish between the Bytecode/Writer and the AsmWriter. Now that AsmWriter doesn't use SlotCalculator, we can remove this flag and simplify some code. Also, some minor name changes to CachedWriter.h needed to be committed (missed in previous commit). llvm-svn: 13785
Diffstat (limited to 'llvm/lib/Bytecode/Writer')
-rw-r--r--llvm/lib/Bytecode/Writer/Writer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bytecode/Writer/Writer.cpp b/llvm/lib/Bytecode/Writer/Writer.cpp
index 2a6510c283d..d139a6f3098 100644
--- a/llvm/lib/Bytecode/Writer/Writer.cpp
+++ b/llvm/lib/Bytecode/Writer/Writer.cpp
@@ -40,7 +40,7 @@ static Statistic<>
BytesWritten("bytecodewriter", "Number of bytecode bytes written");
BytecodeWriter::BytecodeWriter(std::deque<unsigned char> &o, const Module *M)
- : Out(o), Table(M, true) {
+ : Out(o), Table(M) {
// Emit the signature...
static const unsigned char *Sig = (const unsigned char*)"llvm";
OpenPOWER on IntegriCloud