diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-05-26 07:37:11 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-05-26 07:37:11 +0000 |
commit | 798ff64328c3f167a58e4dbfa515c04e1f49f664 (patch) | |
tree | cdbeffd6577c8d996544a00411d7b06abe8bdc07 /include/llvm/Assembly | |
parent | 0d1b77e2824115d97f8392c3f4ec257b27ebbd7a (diff) | |
download | external_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.h | 7 |
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; |