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).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13785 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer
2004-05-26 07:37:11 +00:00
parent 0d1b77e282
commit 798ff64328
6 changed files with 106 additions and 141 deletions
+5 -2
View File
@@ -20,16 +20,19 @@
#include "llvm/Value.h"
#include <iostream>
namespace {
class SlotMachine; // Internal private class
}
namespace llvm {
class Module;
class PointerType;
class SlotCalculator;
class AssemblyWriter; // Internal private class
class CachedWriter {
AssemblyWriter *AW;
SlotCalculator *SC;
SlotMachine *SC;
bool SymbolicTypes;
std::ostream *Out;