[llvm-commits] CVS: llvm/include/llvm/Assembly/CachedWriter.h

LLVM llvm at cs.uiuc.edu
Wed May 26 02:42:01 PDT 2004


Changes in directory llvm/include/llvm/Assembly:

CachedWriter.h updated: 1.15 -> 1.16

---
Log message:

Part of bug 122: http://llvm.cs.uiuc.edu/PR122 :
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).


---
Diffs of the changes:  (+5 -2)

Index: llvm/include/llvm/Assembly/CachedWriter.h
diff -u llvm/include/llvm/Assembly/CachedWriter.h:1.15 llvm/include/llvm/Assembly/CachedWriter.h:1.16
--- llvm/include/llvm/Assembly/CachedWriter.h:1.15	Wed Apr 28 14:22:58 2004
+++ llvm/include/llvm/Assembly/CachedWriter.h	Wed May 26 02:37:11 2004
@@ -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;
 





More information about the llvm-commits mailing list