From 798ff64328c3f167a58e4dbfa515c04e1f49f664 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Wed, 26 May 2004 07:37:11 +0000 Subject: 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 --- include/llvm/Assembly/CachedWriter.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'include/llvm/Assembly') diff --git a/include/llvm/Assembly/CachedWriter.h b/include/llvm/Assembly/CachedWriter.h index 27193e7c8d..b3f572feb3 100644 --- a/include/llvm/Assembly/CachedWriter.h +++ b/include/llvm/Assembly/CachedWriter.h @@ -20,16 +20,19 @@ #include "llvm/Value.h" #include +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; -- cgit v1.2.3