aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Assembly
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
commit798ff64328c3f167a58e4dbfa515c04e1f49f664 (patch)
treecdbeffd6577c8d996544a00411d7b06abe8bdc07 /include/llvm/Assembly
parent0d1b77e2824115d97f8392c3f4ec257b27ebbd7a (diff)
downloadexternal_llvm-798ff64328c3f167a58e4dbfa515c04e1f49f664.zip
external_llvm-798ff64328c3f167a58e4dbfa515c04e1f49f664.tar.gz
external_llvm-798ff64328c3f167a58e4dbfa515c04e1f49f664.tar.bz2
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
Diffstat (limited to 'include/llvm/Assembly')
-rw-r--r--include/llvm/Assembly/CachedWriter.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/llvm/Assembly/CachedWriter.h b/include/llvm/Assembly/CachedWriter.h
index 27193e7..b3f572f 100644
--- a/include/llvm/Assembly/CachedWriter.h
+++ b/include/llvm/Assembly/CachedWriter.h
@@ -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;